To seed the database with X
amount of cases:
- create a
.env
file in the project's root (the required variables can be found inlocal.env
) pipenv install
whilst in the project's rootpipenv shell
whilst in the project's rootcd ..
to the directory where the project is heldpython -m lite-tests-common.performance_testing.setup.seed_cases X
If this project is a submodule, the command can be used from the root of the parent project:
cd
to the directory where the project is heldpipenv run python -m <path.from.root.of.parent.project>.performance_testing.setup.seed_cases X