A place for insurance services of Insurance API
We're using:
- DJANGO
- DJANGO-FILTER for filtering.
- DJANGO-REST-FRAMEWORK for the API development
- Run
Insurance
-
Create a virtualenv
python3.9 -m venv {env_location} -
Activate the venv
source {env_location}/bin/activate -
Install the minimum requirements
pip install -r requirements/prod.txt -
Create a
.envfile with needed environmental variables by copying the examplecp .env-example .env -
Load your
.envfileset -a && source .env && set +a -
Migrate the database
python manage.py migrate -
Run the application
python manage.py runserver
To run tests you can
pytest -v