Previous requirements:
- Have docker-compose installed with pip.
- Have ports 8000 free.
Steps to install
- Create django local settings
cp invertirenbolsa/config/settings/local_example.py invertirenbolsa/config/settings/local.py
- Create .env file that contains the environments variables
cp env.template .env
- Run project
docker-compose up --build
Running pytest
on the main directory runs unit and bdd tests.
pytest
Or individually
pytest products/tests/test_view.py::{your class} # Only unit tests
coverage
pytest --cov
http://127.0.0.1:8000/swagger/
http://127.0.0.1:8000/redoc/