Update README files to replace syncdb with migrate

This commit is contained in:
jmath1 2020-06-07 08:12:51 -04:00
parent a88708367d
commit 09b9583b7a
3 changed files with 4 additions and 7 deletions

View file

@ -161,13 +161,10 @@ these after the installation below.
Then load up the database with empty NewsBlur tables and bootstrap the database:
./manage.py migrate
./manage.py migrate --fake
./manage.py migrate
./manage.py loaddata config/fixtures/bootstrap.json
If you don't create a user during `syncdb`, the `bootstrap.json` file will create a
newsblur user with no password.
3. Start mongodb (if not already running):
@ -211,7 +208,7 @@ You must perform a few tasks to tie all of the various systems together.
#### MySQL/PostgreSQL
./manage.py syncdb
./manage.py migrate
#### App server

View file

@ -15,7 +15,7 @@ Missing from template : REDIS_SESSIONS, postgresql_psycopg2
## One time setup
On newsblur :
docker-compose run newsblur ./manage.py syncdb --all --noinput
docker-compose run newsblur ./manage.py migrate
docker-compose run newsblur ./manage.py loaddata docker/data.json

View file

@ -265,7 +265,7 @@ apps. [There is an explanation of WPP in the PayPal Forums](http://www.pdncommun
PAYPAL_WPP_PASSWORD = "???"
PAYPAL_WPP_SIGNATURE = "???"
1. Run `python manage.py syncdb` to add the required tables.
1. Run `python manage.py migrate` to add the required tables.
1. Write a wrapper view for `paypal.pro.views.PayPalPro`: