Test project to manage companies, persons and its assets through an API.
- Create a folder named "local" inside the .envs and set the same variables as the .envs/test files
Start the dev server for local development:
docker-compose -f docker-compose.local.yml up
Run tests and tests coverage in container:
docker-compose -f docker-compose.local.yml run --rm server coverage run -m pytest
Run tests with postman collection:
newman run Inquest.postman_collection.json
Run any command inside the docker container:
docker-compose -f docker-compose.local.yml run --rm server [command]
- First local run will create initial users
- An administrator user:
- username: admin
- password: admin
- And an advertiser user:
- username: test
- password: test
- An administrator user: