commit | author | age
|
d5f734
|
1 |
myproj |
68f673
|
2 |
====== |
f9a67a
|
3 |
|
MM |
4 |
Getting Started |
|
5 |
--------------- |
|
6 |
|
d5f734
|
7 |
- Change directory into your newly created project. |
f9a67a
|
8 |
|
3ec0fc
|
9 |
cd tutorial |
f9a67a
|
10 |
|
d5f734
|
11 |
- Create a Python virtual environment. |
f9a67a
|
12 |
|
d5f734
|
13 |
python3 -m venv env |
SP |
14 |
|
|
15 |
- Upgrade packaging tools. |
|
16 |
|
61adea
|
17 |
env/bin/pip install --upgrade pip setuptools |
d5f734
|
18 |
|
SP |
19 |
- Install the project in editable mode with its testing requirements. |
|
20 |
|
|
21 |
env/bin/pip install -e ".[testing]" |
|
22 |
|
|
23 |
- Run your project's tests. |
|
24 |
|
|
25 |
env/bin/pytest |
|
26 |
|
|
27 |
- Run your project. |
|
28 |
|
|
29 |
env/bin/pserve development.ini |