The API can be found on https://gentle-harbor-62875.herokuapp.com
The Api documentation can be found on http://gentle-harbor-62875.herokuapp.com/api/docs/
The project requires
- Clone this repository
- create the files
- .env.dev
- .env.prod
- .env.prod.db
- build the docker images
The unit tests can be executed manually with:
$ docker-compose -f docker-compose.yml exec web coverage run
And the coverage report can be shown with:
$ docker-compose -f docker-compose.yml exec web coverage report
The tests are also executed by Github Actions CI on Push
To test the in the production environment execute
$ docker-compose -f docker-compose.prod.yml down -v
$ docker-compose -f docker-compose.prod.yml up -d --build
$ docker-compose -f docker-compose.prod.yml exec web python app.py create_db