diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-23 04:21:00 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-23 04:21:00 -0800 |
| commit | 0fb992d2eb0edeab67c4c57212244d6c6a6c515b (patch) | |
| tree | a87f486783d615784585a30d2b39f8b16e879cc9 /docs/tutorials/wiki/src/models/README.txt | |
| parent | 9e5dccb4d473b7e1fc38a2c8ff7e60dd88c2c64c (diff) | |
| download | pyramid-0fb992d2eb0edeab67c4c57212244d6c6a6c515b.tar.gz pyramid-0fb992d2eb0edeab67c4c57212244d6c6a6c515b.tar.bz2 pyramid-0fb992d2eb0edeab67c4c57212244d6c6a6c515b.zip | |
wiki/src/models updates
Diffstat (limited to 'docs/tutorials/wiki/src/models/README.txt')
| -rw-r--r-- | docs/tutorials/wiki/src/models/README.txt | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/src/models/README.txt b/docs/tutorials/wiki/src/models/README.txt index dcb3605b8..bd67221cc 100644 --- a/docs/tutorials/wiki/src/models/README.txt +++ b/docs/tutorials/wiki/src/models/README.txt @@ -1,12 +1,29 @@ -tutorial README -================== +myproj +=============================== Getting Started --------------- -- cd <directory containing this file> +- Change directory into your newly created project. -- $VENV/bin/pip install -e . + cd myproj -- $VENV/bin/pserve development.ini +- Create a Python virtual environment. + python3 -m venv env + +- Upgrade packaging tools. + + env/bin/pip install --upgrade pip setuptools wheel + +- 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 |
