-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
58 lines (52 loc) · 1.92 KB
/
Copy path.env
File metadata and controls
58 lines (52 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Environment variables go here, can be read by `python-dotenv` package, and `os.getenv`:
#
# `src/medshift/config.py`
# ----------------------------------------------------------------
# from os import getenv
# from os.path import dirname, join
# import dotenv
#
# project_dir = dirname(dirname(dirname(__file__)))
#
# # Load the environment variables from the `.env` file, overriding any system environment variables
# env_path = join(project_dir, '.env')
# dotenv.load_dotenv(env_path, override=True)
#
# # Load secrets from the `.secrets` file, overriding any system environment variables
# secrets_path = join(project_dir, '.secrets')
# load_dotenv(secrets_path, override=True)
#
# # Example variable
# EXAMPLE_VARIABLE = getenv("EXAMPLE_VARIABLE")
#
# ----------------------------------------------------------------
#
# DO NOT STORE SECRETS HERE! You should store secrets in a `.secrets` file, which is not versioned
DOMAIN=localhost
GUNICORN_WORKERS=1
LOG_LEVEL=debug
# For folder/file path environment variables, use relative paths.
# Add environment variables for the `data` directories
DIR_DATA=./data
DIR_DATA_EXTERNAL=./data/external
DIR_DATA_RAW=./data/raw
DIR_DATA_INTERIM=./data/interim
DIR_DATA_PROCESSED=./data/processed
# Add environment variables for the `docs` directory
DIR_DOCS=./docs
# Add environment variables for the `notebooks` directory
DIR_NOTEBOOKS=./notebooks
# Add environment variables for the `reports` directory
DIR_REPORTS=./reports
DIR_FIGURES=./reports/figures
# Add environment variables for the `models` directory
DIR_MODELS=./models
# Add environment variables for the `src` directories
DIR_SRC=./src/medshift/
DIR_SRC_DATA=./src/medshift/data
DIR_SRC_FEATURES=./src/medshift/features
DIR_SRC_MODELS=./src/medshift/models
DIR_SRC_VISUALISATION=./src/medshift/visualisation
DIR_SRC_UTILS=./src/medshift/utils
# Add environment variables for the `tests` directory
DIR_TESTS=./tests