diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-23 14:55:03 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-23 14:55:03 -0800 |
| commit | 34a21b8b14adc93d26c35ae3e0c467874a36d01b (patch) | |
| tree | bef9b90c78fe52a5f0d55d02082c0e878848be92 /docs/tutorials/wiki2/src/models/README.txt | |
| parent | 7e93ce88b677b7d61fdb121737e685a1d4adee7c (diff) | |
| download | pyramid-34a21b8b14adc93d26c35ae3e0c467874a36d01b.tar.gz pyramid-34a21b8b14adc93d26c35ae3e0c467874a36d01b.tar.bz2 pyramid-34a21b8b14adc93d26c35ae3e0c467874a36d01b.zip | |
wiki2/src/models - update files
Diffstat (limited to 'docs/tutorials/wiki2/src/models/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/models/README.txt | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/src/models/README.txt b/docs/tutorials/wiki2/src/models/README.txt index 5b0101e5f..8466fd7b5 100644 --- a/docs/tutorials/wiki2/src/models/README.txt +++ b/docs/tutorials/wiki2/src/models/README.txt @@ -1,14 +1,33 @@ -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/initialize_tutorial_db development.ini +- Create a Python virtual environment. -- $VENV/bin/pserve development.ini + 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]" + +- Configure the database. + + env/bin/initialize_tutorial_db development.ini + +- Run your project's tests. + + env/bin/pytest + +- Run your project. + + env/bin/pserve development.ini |
