- Docker (version 19.03.5, build 633a0ea838)
- Docker-compose (version 1.23.2, build 1110ad0)
After setting up docker and docker compose, clone this repo and run the following:
docker-compose build
Then initialize the db from migrations and fixtures:
docker-compose up init
Finally start the APIs and Celery's worker/beat:
docker-compose up apis celery-beat celery-worker
docker-compose up test
- Get the current + 5 day forecast weather for a given location: http://localhost:8000/weather/temperature/?lat=22&long=22
- Get the south american capitals weather with a 4-Range classification: http://localhost:8000/weather/south-america/
- Get available tours for a given danger score between two dates: http://localhost:8000/tour/?start=2020-10-02&end=2020-10-31&danger_score=3
- Add more tests
- Add prod settings