| | |
| | | tutorial README |
| | | ================== |
| | | myproj |
| | | ====== |
| | | |
| | | Getting Started |
| | | --------------- |
| | | |
| | | - cd <directory containing this file> |
| | | - Change directory into your newly created project. |
| | | |
| | | - $VENV/bin/pip install -e . |
| | | cd tutorial |
| | | |
| | | - $VENV/bin/pserve development.ini |
| | | - Create a Python virtual environment. |
| | | |
| | | python3 -m venv env |
| | | |
| | | - Upgrade packaging tools. |
| | | |
| | | env/bin/pip install --upgrade pip setuptools |
| | | |
| | | - Install the project in editable mode with its testing requirements. |
| | | |
| | | env/bin/pip install -e ".[testing]" |
| | | |
| | | - Run your project's tests. |
| | | |
| | | env/bin/pytest |
| | | |
| | | - Run your project. |
| | | |
| | | env/bin/pserve development.ini |