Related documentation and links about this template.
Motor: Asynchronous Python driver for MongoDB
-
Create a .env file from template.env
-
Run command 'docker compose up --build'
-
Enter here
-
Create a virtual enviroment with command 'python3 -m venv tutorial-env' and python 3.10
-
Execute the enviroment with command 'source tutorial-env/bin/activate'
-
Install production requirements with command 'pip install -r requirements.txt'
-
Install develop requirements with command 'pip install -r requirements_dev.txt'
-
Run tests with command 'pytest test/'
You can analyse your code best practices after install develop requirements with commands 'mypy app' and 'prospector' in the root folder of the project.