Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Samantha 9a1673170e
edited readme file
2 months ago
..
api
9e422ca7d7
Nan to null
2 months ago
9e149279de
run black formatter
3 months ago
df97579227
Update .dockerignore
1 year ago
14bd7e64c5
fix wrong args
3 months ago
77e6b6a5c6
update aqcsv formatting method
7 months ago
49dd28a66b
triggering github actions
2 years ago
9a1673170e
edited readme file
2 months ago
cc375968ba
Added more error handling to data export
10 months ago
d7fcbaee4a
Add missing config
2 months ago
4b7d04ccbf
Made summary interval an env
10 months ago
9e149279de
run black formatter
3 months ago
d0af9a99ff
Merge branch 'staging' into auto-reporting-revised
3 months ago
d262ecabb9
reporting API
3 months ago

README.md

You have to be logged in to leave a comment. Sign In

clone project from GitHub.

  • git clone https://github.com/airqo-platform/AirQo-api.git

change directory to the analytics microservice

  • cd src/analytics

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

  • source [local_env_name]/bin/activate

Install dependencies using the requirements.txt

  • pip install -r requirements.txt

set environment variables

windows

  • set FLASK_APP=manage.py
  • set FLASK_ENV=development

linux/mac

  • export FLASK_APP=manage.py
  • export FLASK_ENV=development

Run the Flask App

  • flask run
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...