Are you sure you want to delete this access key?
clone project from github.
git clone https://github.com/airqo-platform/AirQo-api.git
change directory to the analytics micro-service
cd src/device-monitoring
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
[local_env_name]\Scripts\activate
linux/mac
[local_env_name]/bin/activate
Install dependencies using the requirements.txt.
pip install -r requirements.txt
set environment variables in the .env file
app.py
Run the Flask App
flask run
celery -A app.celery beat
celery -A app.celery worker --loglevel=info
Run Tests.
python -m pytest
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?