diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-06-30 05:50:50 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-06-30 05:50:50 -0700 |
| commit | 1c36258310f01cf22b194f83cc9567c776c46268 (patch) | |
| tree | 3be1c8849d01245722afd1edbf780475e096d0c6 /docs/tutorials/wiki2/src/tests/README.txt | |
| parent | 379b5ad215fa399117881b2e80dc3bac72b381f1 (diff) | |
| download | pyramid-1c36258310f01cf22b194f83cc9567c776c46268.tar.gz pyramid-1c36258310f01cf22b194f83cc9567c776c46268.tar.bz2 pyramid-1c36258310f01cf22b194f83cc9567c776c46268.zip | |
synch up source code in tests step
Diffstat (limited to 'docs/tutorials/wiki2/src/tests/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/tests/README.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/src/tests/README.txt b/docs/tutorials/wiki2/src/tests/README.txt index 7b33da610..5d5133e34 100644 --- a/docs/tutorials/wiki2/src/tests/README.txt +++ b/docs/tutorials/wiki2/src/tests/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 |
