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