Skip to content

Commit e1c06e4

Browse files
authored
Merge pull request #388 from hydroserver2/1.9-docs
1.9 docs
2 parents 582fc9d + 1cb370d commit e1c06e4

File tree

10 files changed

+423
-117
lines changed

10 files changed

+423
-117
lines changed

apps/docs/docs/.vitepress/config.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,21 @@ export default defineConfig({
105105
text: "How-to",
106106
collapsed: true,
107107
items: [
108-
{
109-
text: "Data Management App",
110-
collapsed: true,
111-
link: "/how-to/data-management-app/customize.md",
112-
items: [
113-
{
114-
text: "Customize the Data Management App",
115-
link: "/how-to/data-management-app/customize.md",
116-
},
117-
// {
118-
// text: "Archive Data to HydroShare",
119-
// link: "/how-to/data-management-app/hydroshare-archive.md",
120-
// },
121-
],
122-
},
108+
// {
109+
// text: "Data Management App",
110+
// collapsed: true,
111+
// link: "/how-to/data-management-app/customize.md",
112+
// items: [
113+
// {
114+
// text: "Customize the Data Management App",
115+
// link: "/how-to/data-management-app/customize.md",
116+
// },
117+
// // {
118+
// // text: "Archive Data to HydroShare",
119+
// // link: "/how-to/data-management-app/hydroshare-archive.md",
120+
// // },
121+
// ],
122+
// },
123123
{
124124
text: "Deployment",
125125
collapsed: true,
@@ -136,7 +136,7 @@ export default defineConfig({
136136
],
137137
},
138138
{
139-
text: "Hydroserverpy",
139+
text: "Python Client",
140140
collapsed: true,
141141
link: "/how-to/hydroserverpy/hydroserverpy-examples",
142142
items: [

apps/docs/docs/how-to/deployment/examples/docker-compose/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.9"
22

33
services:
44
hydroserver:
5-
image: ghcr.io/hydroserver2/hydroserver-api-services:latest
5+
image: ghcr.io/hydroserver2/hydroserver:latest
66
command: python manage.py run_demo
77
restart: unless-stopped
88
environment:
@@ -39,4 +39,4 @@ services:
3939
volumes:
4040
db:
4141
static:
42-
media:
42+
media:

apps/docs/docs/how-to/deployment/examples/terraform-aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "null_resource" "ghcr_to_ecr" {
5353
5454
REGION="${var.region}"
5555
REPO="${aws_ecr_repository.hydroserver.repository_url}"
56-
GHCR_IMAGE="ghcr.io/hydroserver2/hydroserver-api-services:latest"
56+
GHCR_IMAGE="ghcr.io/hydroserver2/hydroserver:latest"
5757
5858
# ECR Authentication
5959
aws ecr get-login-password --region $REGION | docker login --username AWS --password-stdin $(echo $REPO | cut -d/ -f1)

apps/docs/docs/how-to/deployment/examples/terraform-gcp/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ resource "null_resource" "ghcr_to_artifact_registry" {
4747
set -euo pipefail
4848
4949
REGION="${var.region}"
50-
REPO="${var.region}-docker.pkg.dev/${var.project_id}/hydroserver-demo/hydroserver-api-services"
51-
GHCR_IMAGE="ghcr.io/hydroserver2/hydroserver-api-services:latest"
50+
REPO="${var.region}-docker.pkg.dev/${var.project_id}/hydroserver-demo/hydroserver"
51+
GHCR_IMAGE="ghcr.io/hydroserver2/hydroserver:latest"
5252
5353
# GCP Authentication
5454
gcloud auth configure-docker $REGION-docker.pkg.dev --quiet
@@ -112,7 +112,7 @@ resource "google_cloud_run_v2_service" "hydroserver" {
112112

113113
template {
114114
containers {
115-
image = "${var.region}-docker.pkg.dev/${var.project_id}/hydroserver-demo/hydroserver-api-services:latest"
115+
image = "${var.region}-docker.pkg.dev/${var.project_id}/hydroserver-demo/hydroserver:latest"
116116
command = ["python", "manage.py", "run_demo"]
117117

118118
resources {

apps/docs/docs/how-to/deployment/production-deployment-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deployment platform.
88

99
## HydroServer Required Infrastructure
1010

11-
Each HydroServer release includes a [**container image**](https://github.com/hydroserver2/hydroserver-api-services/pkgs/container/hydroserver-api-services)
11+
Each HydroServer release includes a [**container image**](https://github.com/hydroserver2/hydroserver/pkgs/container/hydroserver)
1212
that packages the core HydroServer website, APIs, and supporting services. This image follows the OCI (Open Container
1313
Initiative) standard and can be deployed on any platform that supports [**Docker**](https://www.docker.com/) or other
1414
OCI-compatible runtimes, including commercial cloud providers or local environments. The image comes pre-configured with

apps/docs/docs/how-to/development/development-setup.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Before starting, make sure you have the following software installed on your mac
2323
git clone https://github.com/hydroserver2/hydroserver.git
2424
cd hydroserver/deploy/dev
2525
```
26-
2. Create environment variables for static and media file paths. The default locations of these folders should be `/static` and `/media` within the `hydroserver-api-services` project folder.
26+
2. Create environment variables for static and media file paths. The default locations of these folders should be `/static` and `/media` within the `hydroserver` project folder.
2727
Mac/Linux:
2828
```bash
2929
export HS_MEDIAFILES="/path/to/media"
@@ -39,51 +39,51 @@ Before starting, make sure you have the following software installed on your mac
3939
docker compose --file "docker-compose.yaml" up
4040
```
4141

42-
## HydroServer API Services
43-
44-
### Installation
42+
## Installation
4543

4644
1. Clone the repository:
4745
```bash
48-
git clone https://github.com/hydroserver2/hydroserver-api-services.git
49-
cd hydroserver-api-services
46+
git clone https://github.com/hydroserver2/hydroserver.git
47+
cd hydroserver
5048
```
51-
2. Install the dependencies:
49+
50+
## HydroServer Backend Setup
51+
52+
### Installation
53+
54+
1. Navigate to `django` and install the dependencies:
5255
```bash
56+
cd django
5357
pip install -r requirements.txt
5458
```
55-
3. Create a .env file in the root of the repository and update variables as needed. For getting started, the default settings should be sufficient.
56-
4. Perform database migrations and collect static files:
59+
2. Create a .env file and update variables as needed. For getting started, the default settings should be sufficient.
60+
3. Perform database migrations and collect static files:
5761
```bash
5862
python manage.py migrate
5963
python manage.py collectstatic
6064
```
61-
5. Create an admin user and load test data.
65+
4. Create an admin user and load test data.
6266
```bash
6367
python manage.py createsuperuser
6468
python manage.py load_iam_test_data
6569
python manage.py load_sta_test_data
6670
```
67-
6. Start the development web server:
71+
5. Start the Django development web server:
6872
```bash
6973
python manage.py runserver
7074
```
7175

72-
## HydroServer Data Management App
76+
## HydroServer Frontend
7377

7478
### Installation
7579

76-
1. Clone the repository:
77-
```bash
78-
git clone https://github.com/hydroserver2/hydroserver-data-management-app.git
79-
```
80-
2. Navigate to the project directory and install the required packages:
80+
1. Navigate to `apps/data-management` and install the required packages:
8181
```bash
8282
cd hydroserver-data-management-app
8383
npm install
8484
```
85-
3. Create a .env file in the root of the repository and update variables as needed. For getting started, the default settings should be sufficient.
86-
4. Build the static files and run the application in production mode:
85+
2. Create a .env file and update variables as needed. For getting started, the default settings should be sufficient.
86+
3. Build the static files and run the application in production mode:
8787
```bash
8888
npm run build
8989
npm run preview

0 commit comments

Comments
 (0)