-
Create local python environment
-
windows
python -m venv [local_env_name e.g env]
-
linux/mac
python3 -m venv [local_env_name e.g env]
-
-
Activate the environment
-
windows
env\scripts\activate
-
linux/mac
source env/bin/activate
-
-
Install required packages.
pip install -r requirements.txt
-
Create a
.env
file with the following keys- ENV e.g
staging
- MONGO_GCE_URI
- MONGO_DEV_URI
- DB_NAME_DEV
- DB_NAME_PROD
- DB_NAME_STAGE
- SECRET_KEY
- ENV e.g
-
Run script
python main.py
- the default tenantAirQo
will be used in this case- or by explicitly stating the tenant
python main.py --tenant=kcca
- Coming soon....