diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-23 14:35:13 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-23 14:35:13 -0800 |
| commit | 7e93ce88b677b7d61fdb121737e685a1d4adee7c (patch) | |
| tree | 463f5c4a7ef54f658cc7188e5a918360269a202c /docs/tutorials/wiki2/src/basiclayout/README.txt | |
| parent | 29394211eaeff1dff3cc6578761883f9fd0a1e8a (diff) | |
| download | pyramid-7e93ce88b677b7d61fdb121737e685a1d4adee7c.tar.gz pyramid-7e93ce88b677b7d61fdb121737e685a1d4adee7c.tar.bz2 pyramid-7e93ce88b677b7d61fdb121737e685a1d4adee7c.zip | |
wiki2/src/basiclayout - update files
Diffstat (limited to 'docs/tutorials/wiki2/src/basiclayout/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/basiclayout/README.txt | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/src/basiclayout/README.txt b/docs/tutorials/wiki2/src/basiclayout/README.txt index 5b0101e5f..8466fd7b5 100644 --- a/docs/tutorials/wiki2/src/basiclayout/README.txt +++ b/docs/tutorials/wiki2/src/basiclayout/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 |
