Install development dependencies:
pip install pip-tools
pip-sync requirements_dev.txt
Set up the git pre-commit hook:
pre-commit install
Initialize the database:
createdb covid19_test
./manage.py migrate
Create a superuser:
./manage.py createsuperuser
Load test data:
./manage.py loaddata country redflag equitycategory equitykeywords
Retrieve remote data:
./manage.py fetch_covid_active_cases
Run a development server:
./manage.py runserver
To add, remove or upgrade a requirement, follow these instructions.
./manage.py test --keepdb