A live version of the project is accessible at pokesafe.herokuapp.com. (Note that — because of free Dynos — it might take a little while to load if the app is asleep.)
docker-compose up -d
docker-compose exec web python manage.py migrate
- (recommended) Set up a virtual environment:
python -m venv venv source venv/bin/activate
- Install and activate pre-commits:
pip install -r requirements-dev.txt pre-commit install pre-commit install --hook-type commit-msg # require explicit install, as per https://github.com/compilerla/conventional-pre-commit
Run tests:
docker-compose exec web python manage.py test
Update model
docker-compose up -d
docker-compose exec web python manage.py makemigrations pokesafe