Skip to content

Commit

Permalink
Update workflow to place HTML files in the same directories as the or…
Browse files Browse the repository at this point in the history
…iginal Markdown files
  • Loading branch information
zli86605 committed Jul 11, 2024
1 parent fba2e56 commit 9dec0e1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
32 changes: 16 additions & 16 deletions docs/getting-started/how_to_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](./../../static/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](./../../static/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](./../../static/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](./../../static/create_success.png)

Third, select "Choose existing W4H database instance"
![import_page_create](../static/choose_exist_db.png)
![import_page_create](./../../static/choose_exist_db.png)
Select the database you just created
![import_page_create](../static/select_exist_db.png)
![import_page_create](./../../static/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](./../../static/synthetic_subject_data.csv)

[synthetic_timeseries_data_reduced.csv](../static/synthetic_timeseries_data_reduced.csv)
[synthetic_timeseries_data_reduced.csv](./../../static/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](./../../static/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](./../../static/populate_db.png)

Fifth, upload your time series csv file
![import_page_create](../static/upload_time_csv.png)
![import_page_create](./../../static/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](./../../static/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](./../../static/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](./../../static/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](./../../static/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](./../../static/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
Expand Up @@ -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](./../../static/manage_database_1.png)
![import_page_create](./../../static/manage_database_2.png)
16 changes: 9 additions & 7 deletions docs/tutorials/README_W4H-ImportHub.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ W4H ImportHub is designed to integrate offline datasets, like CSV files, into th

## Table of Contents

- [Documentation](#documentation)
- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [W4H ImportHub: Effortlessly Bridging Your Data to the W4H Ecosystem](#w4h-importhub-effortlessly-bridging-your-data-to-the-w4h-ecosystem)
- [Table of Contents](#table-of-contents)
- [Documentation](#documentation)
- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Documentation

Expand Down

0 comments on commit 9dec0e1

Please sign in to comment.