diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-23 05:14:42 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-23 05:14:42 -0800 |
| commit | d5f734ccb61f3df81575cdbbe4fc9fbf523b8746 (patch) | |
| tree | 16a9dfac007428ac44ad850e321a4efc479f10af /docs/tutorials/wiki/src/tests/README.txt | |
| parent | 90b803a669241fe39d7201633ba9dd539f401f12 (diff) | |
| download | pyramid-d5f734ccb61f3df81575cdbbe4fc9fbf523b8746.tar.gz pyramid-d5f734ccb61f3df81575cdbbe4fc9fbf523b8746.tar.bz2 pyramid-d5f734ccb61f3df81575cdbbe4fc9fbf523b8746.zip | |
wiki/src/tests updates, use correct lexers
Diffstat (limited to 'docs/tutorials/wiki/src/tests/README.txt')
| -rw-r--r-- | docs/tutorials/wiki/src/tests/README.txt | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/src/tests/README.txt b/docs/tutorials/wiki/src/tests/README.txt index dcb3605b8..bd67221cc 100644 --- a/docs/tutorials/wiki/src/tests/README.txt +++ b/docs/tutorials/wiki/src/tests/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 |
