virtualenv venvsource venv/bin/activatepip install git+https://github.com/opendata-stuttgart/feinstaub-apipip install .python manage.py migratepython manage.py runserverdocker-compose build or make builddocker-compose up -d or make upmake buildmake up - run docker and detachmake log - tail logsmake test - run testmake migrate - migrate databasemake createsuperuser - create a super user for adminmake compilescssmake enter - enter docker shellmake django - enter docker django shelldocker-compose is strictly for development and testing purposes. The Dockerfile is written for production since dokku is being used and it will look for Dockerfile.pytest --pylamadocker-compose run api pytest --pylamatasks.py and CELERY_BEAT_SCHEDULE in settings.py.contrib/start.sh:SENSORSAFRICA_RABBITMQ_URLcontrib/start.sh:SENSORSAFRICA_CELERY_SLACK_WEBHOOK. The default options are used:SENSORSAFRICA_SENTRY_DSN.sensors.AFRICA-api and opendata-stuttgart/feinstaub-api migration files by running python manage.py makemigrations command before creating a PR.Posted Aug 7, 2023
The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/ - GitHu…