diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-25 03:46:31 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-25 03:46:31 -0800 |
| commit | b488f7f72ff36526cf21798c91c7f09eaf1afa7a (patch) | |
| tree | 327e0970296e2eb85e415805b49241709e1ae1ad /docs/quick_tour/sqla_demo/README.txt | |
| parent | 64009ac01e4a8a8526289d600cb3c60ca50257ef (diff) | |
| download | pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.tar.gz pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.tar.bz2 pyramid-b488f7f72ff36526cf21798c91c7f09eaf1afa7a.zip | |
quick_tour - "Databases" updates for cookiecutter
- add src files
- adjust line numbers
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 |
