diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-06-29 01:53:43 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-06-29 01:53:43 -0700 |
| commit | 0d08c32d4ae73d57f1695e97b3c8605ccfa06ebc (patch) | |
| tree | 0c95ae1531b3cb90c38e685c2e4d3e32fb05c287 /docs/tutorials/wiki2/src/views/README.txt | |
| parent | 3b6264fb0d5b88f07a91088df577ffc2a6c7bc9d (diff) | |
| download | pyramid-0d08c32d4ae73d57f1695e97b3c8605ccfa06ebc.tar.gz pyramid-0d08c32d4ae73d57f1695e97b3c8605ccfa06ebc.tar.bz2 pyramid-0d08c32d4ae73d57f1695e97b3c8605ccfa06ebc.zip | |
Synch up src files and update definingviews.rst
Diffstat (limited to 'docs/tutorials/wiki2/src/views/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/views/README.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/src/views/README.txt b/docs/tutorials/wiki2/src/views/README.txt index 7b33da610..5d5133e34 100644 --- a/docs/tutorials/wiki2/src/views/README.txt +++ b/docs/tutorials/wiki2/src/views/README.txt @@ -20,7 +20,17 @@ Getting Started env/bin/pip install -e ".[testing]" -- Configure the database. +- Initialize and upgrade the database using Alembic. + + - Generate your first revision. + + env/bin/alembic -c development.ini revision --autogenerate -m "init" + + - Upgrade to that revision. + + env/bin/alembic -c development.ini upgrade head + +- Load default data into the database using a script. env/bin/initialize_tutorial_db development.ini |
