diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-23 18:19:30 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-23 18:19:30 -0800 |
| commit | f4bfa2df091b09ff73d5f97a8f0a13a6b0ef17e0 (patch) | |
| tree | 2e69f512fe7fb58c58b3190cfc8c39b801f796f0 /docs/tutorials/wiki2/src/tests/README.txt | |
| parent | 7293d371a8bf257ad98a781f199a4cee34a94cab (diff) | |
| download | pyramid-f4bfa2df091b09ff73d5f97a8f0a13a6b0ef17e0.tar.gz pyramid-f4bfa2df091b09ff73d5f97a8f0a13a6b0ef17e0.tar.bz2 pyramid-f4bfa2df091b09ff73d5f97a8f0a13a6b0ef17e0.zip | |
wiki2/src/tests update files
Diffstat (limited to 'docs/tutorials/wiki2/src/tests/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/tests/README.txt | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/src/tests/README.txt b/docs/tutorials/wiki2/src/tests/README.txt index 5b0101e5f..8466fd7b5 100644 --- a/docs/tutorials/wiki2/src/tests/README.txt +++ b/docs/tutorials/wiki2/src/tests/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 |
