diff options
| author | Michael Merickel <michael@merickel.org> | 2016-12-25 20:05:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-25 20:05:12 -0600 |
| commit | 8be808150a6df96b5815aa3885c0f62540d82e27 (patch) | |
| tree | 33821f59b97d4fecce31d6b291ef8368a111c5cf /docs/quick_tour/sqla_demo/README.txt | |
| parent | 6c3f4f8d0598cb62e37aa278e9c2c3e4194f8831 (diff) | |
| parent | a0ad6ffc14ef8dfde70e487fb057433ff942b001 (diff) | |
| download | pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.tar.gz pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.tar.bz2 pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.zip | |
Merge pull request #2888 from stevepiercy/docs-cookiecutter-changes-only
docs cookiecutter changes only - Quick Tour
Diffstat (limited to 'docs/quick_tour/sqla_demo/README.txt')
| -rw-r--r-- | docs/quick_tour/sqla_demo/README.txt | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/docs/quick_tour/sqla_demo/README.txt b/docs/quick_tour/sqla_demo/README.txt index b6d4c7798..1659e47ab 100644 --- a/docs/quick_tour/sqla_demo/README.txt +++ b/docs/quick_tour/sqla_demo/README.txt @@ -1,14 +1,33 @@ -sqla_demo README -================== +sqla_demo +=============================== Getting Started --------------- -- cd <directory containing this file> +- Change directory into your newly created project. -- $VENV/bin/pip install -e . + cd sqla_demo -- $VENV/bin/initialize_sqla_demo_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 + +- Install the project in editable mode with its testing requirements. + + env/bin/pip install -e ".[testing]" + +- Configure the database. + + env/bin/initialize_sqla_demo_db development.ini + +- Run your project's tests. + + env/bin/pytest + +- Run your project. + + env/bin/pserve development.ini |
