Skip to content

Commit

Permalink
change static to image
Browse files Browse the repository at this point in the history
zli86605 committed Jul 11, 2024
1 parent 35d40f6 commit 4cbb530
Showing 27 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/docker/Readme.md
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@ Docker is available for Linux, Mac, and Windows. Install the appropriate version
### Running the Container from Docker Desktop

When you load an image into memory, it becomes a running container. To run a container in Docker Desktop:Click on the "run" icon under "Actions" next to the image name.
![alt text](./../../static/docker_readme.png)
![alt text](./../../images/docker_readme.png)
Click on "Optional Settings" and fill in the form as follows:
![alt text](./../../static/docker_readme2.png)
![alt text](./../../images/docker_readme2.png)
Finally, click the "Run" button to start the container.

### Running the Container from the Command Line as a Background Process
32 changes: 16 additions & 16 deletions docs/getting-started/how_to_start.md
Original file line number Diff line number Diff line change
@@ -15,53 +15,53 @@ The W4H GeoMTS dashboard is designed to provide visualization and analysis capab
At this moment, you should have read the Setting up tutorial and set up your database server.
If you already have data in proper format in your database, you can skip this step.
Click the "import page" button on the left side of the dashboard, you will see a page like this:
![import_page_create](./../../static/import_page_create.png)
![import_page_create](./../../images/import_page_create.png)

Let's start from creating a new database instance:
First, Select "Create new W4H database instance"
![create_new_db](./../../static/create_new_db.png)
![create_new_db](./../../images/create_new_db.png)


Second, type in the name of database you want to make, and click "create". In this case we name it "test2"
![import_page_create](./../../static/set_db_name.png)
![import_page_create](./../../images/set_db_name.png)
If it's created successfully, you will see a message like this:
![import_page_create](./../../static/create_success.png)
![import_page_create](./../../images/create_success.png)

Third, select "Choose existing W4H database instance"
![import_page_create](./../../static/choose_exist_db.png)
![import_page_create](./../../images/choose_exist_db.png)
Select the database you just created
![import_page_create](./../../static/select_exist_db.png)
![import_page_create](./../../images/select_exist_db.png)

For the Following step, if you need some test file, try to download here:
[synthetic_subject_data.csv](./../../static/synthetic_subject_data.csv)
[synthetic_subject_data.csv](./../../images/synthetic_subject_data.csv)

[synthetic_timeseries_data_reduced.csv](./../../static/synthetic_timeseries_data_reduced.csv)
[synthetic_timeseries_data_reduced.csv](./../../images/synthetic_timeseries_data_reduced.csv)

Fourth, Upload your subjects csv file, and check "Populate subject table name".
![import_page_create](./../../static/upload_subject_csv.png)
![import_page_create](./../../images/upload_subject_csv.png)
After making sure corresponding Column are all correct, click "Populate database" at the bottom.
![import_page_create](./../../static/populate_db.png)
![import_page_create](./../../images/populate_db.png)

Fifth, upload your time series csv file
![import_page_create](./../../static/upload_time_csv.png)
![import_page_create](./../../images/upload_time_csv.png)
After making sure corresponding Column are all correct, click "Populate database" at the bottom.
![import_page_create](./../../static/populate_db_time.png)
![import_page_create](./../../images/populate_db_time.png)

(Optional)Sixth, open your DB management tool, such as PgAdmin4, and check if the data is populated correctly.
![import_page_create](./../../static/pgadmin.png)
![import_page_create](./../../images/pgadmin.png)

2. **choose your db in the input page, then setup it!**

choose your db in the input page
![import_page_create](./../../static/input_select_db.png)
![import_page_create](./../../images/input_select_db.png)

select the subjects and control group you want to check
![import_page_create](./../../static/subjects_and_control_group.png)
![import_page_create](./../../images/subjects_and_control_group.png)

select if you want to simulate the data
click "show result"
3. **check the result page**
You are there!
![import_page_create](./../../static/result_page.png)
![import_page_create](./../../images/result_page.png)


4 changes: 2 additions & 2 deletions docs/getting-started/setting_up.md
Original file line number Diff line number Diff line change
@@ -11,5 +11,5 @@ db's host,username,password,database name, and the port it is listening to.
login in with username and password(use "admin" for both username and password in first time)

Then following instruction to set your database
![import_page_create](./../../static/manage_database_1.png)
![import_page_create](./../../static/manage_database_2.png)
![import_page_create](./../../images/manage_database_1.png)
![import_page_create](./../../images/manage_database_2.png)
2 changes: 1 addition & 1 deletion html/docs/getting-started/how_to_start.html
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ <h2 id="how-to-play-with-it">How to play with it</h2>
First, Select “Create new W4H database instance”<br />
</p>
<div style="display: flex;justify-content: center; ">
<img src="../../static/create_new_db.png" alt="create_new_db" style="margin:10px;width:800px;border: 2px solid rgba(252, 176, 69, 0.3);"/>
<img src="../../images/create_new_db.png" alt="create_new_db" style="margin:10px;width:800px;border: 2px solid rgba(252, 176, 69, 0.3);"/>
</div>
<p>Second, type in the name of database you want to make, and click “create”. In this case we name it “test2”</p>
<div style="display: flex;justify-content: center; ">
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes

0 comments on commit 4cbb530

Please sign in to comment.