You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,19 @@
7
7
2. Run command 'docker-compose up --build'
8
8
9
9
3. Enter [here](http://0.0.0.0:8000/docs)
10
+
11
+
## Testing
12
+
13
+
1. Create a virtual enviroment with command 'python3 -m venv tutorial-env' and python 3.10
14
+
15
+
2. Execute the enviroment with command 'source tutorial-env/bin/activate'
16
+
17
+
3. Install production requirements with command 'pip install -r requirements.txt'
18
+
19
+
4. Install develop requirements with command 'pip install -r requirements_dev.txt'
20
+
21
+
5. Run tests with command 'pytest test/'
22
+
23
+
## Analyse code
24
+
25
+
You can analyse your code best practices after install develop requirements with commands 'mypy app' and 'prospector' in the root folder of the project.
0 commit comments