diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-06-30 05:18:05 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-06-30 05:18:05 -0700 |
| commit | f63c10ee0eed7cbcb59c68535cbccf2fa88d41e0 (patch) | |
| tree | 5954f7288611584f7c4b3f85c86fffcbeee4f103 /docs/tutorials/wiki2/src/authentication/README.txt | |
| parent | 0d08c32d4ae73d57f1695e97b3c8605ccfa06ebc (diff) | |
| download | pyramid-f63c10ee0eed7cbcb59c68535cbccf2fa88d41e0.tar.gz pyramid-f63c10ee0eed7cbcb59c68535cbccf2fa88d41e0.tar.bz2 pyramid-f63c10ee0eed7cbcb59c68535cbccf2fa88d41e0.zip | |
Synch up source files for authentication step
Diffstat (limited to 'docs/tutorials/wiki2/src/authentication/README.txt')
| -rw-r--r-- | docs/tutorials/wiki2/src/authentication/README.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/src/authentication/README.txt b/docs/tutorials/wiki2/src/authentication/README.txt index 7b33da610..5d5133e34 100644 --- a/docs/tutorials/wiki2/src/authentication/README.txt +++ b/docs/tutorials/wiki2/src/authentication/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 |
