diff options
| author | Michael Merickel <michael@merickel.org> | 2016-12-23 22:49:38 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-23 22:49:38 -0600 |
| commit | 1a27bf722ddf945f13ebf2c5bdb9ca121ad15663 (patch) | |
| tree | a523837721c01c441116737dcbb629b5f464cd2c /docs/tutorials/wiki2/src/basiclayout/README.txt | |
| parent | d2f0fe8e44fd81d99142b8174c665354a072b774 (diff) | |
| parent | f4bfa2df091b09ff73d5f97a8f0a13a6b0ef17e0 (diff) | |
| download | pyramid-1a27bf722ddf945f13ebf2c5bdb9ca121ad15663.tar.gz pyramid-1a27bf722ddf945f13ebf2c5bdb9ca121ad15663.tar.bz2 pyramid-1a27bf722ddf945f13ebf2c5bdb9ca121ad15663.zip | |
Merge pull request #2883 from stevepiercy/docs-cookiecutter-changes-only
docs cookiecutter changes only - wiki2
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 |
