Skip to content

Commit

Permalink
Set up template for public version of app
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmlft committed Nov 19, 2024
1 parent 500fbbc commit 813a73a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ENV=test
DATA_VOLUME_PATH=./data/test_data
DATA_VOLUME_PATH=./data/test_data/internal

# For preprocessing
PREPROCESS_DB_NAME= # name of the source database
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ po/*~
rsconnect/

!dev
.env
*.env
17 changes: 17 additions & 0 deletions public.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ENV=test
DATA_VOLUME_PATH=./data/test_data/public

# For preprocessing
PREPROCESS_DB_NAME= # name of the source database
PREPROCESS_HOST= # host address for the source database
PREPROCESS_PORT= # port on which to connect to the source database
PREPROCESS_DB_USERNAME= # username for the source database
PREPROCESS_DB_PASSWORD= # password for the source database
PREPROCESS_DB_CDM_SCHEMA= # Schema name in the database to connect the OMOP CDM to

# Low-frequency replacement
LOW_FREQUENCY_THRESHOLD=10
LOW_FREQUENCY_REPLACEMENT=5

# For testing
TEST_DB_PATH=./data-raw/test_db/eunomia

0 comments on commit 813a73a

Please sign in to comment.