Use python3 commands in README

If you're in a virtualenv it doesn't make a difference, but outside of
one it will.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2016-08-01 19:45:09 +12:00
parent 1d76228675
commit 79d09a3f1b

6
README
View File

@ -47,15 +47,15 @@ Setup instructions:
2. Run the following commands within the layerindex-web directory to 2. Run the following commands within the layerindex-web directory to
initialise the database: initialise the database:
python manage.py syncdb python3 manage.py syncdb
python manage.py migrate python3 manage.py migrate
You should answer "yes" when asked to create an admin account. You should answer "yes" when asked to create an admin account.
3. You can test the web application locally by setting DEBUG = True in 3. You can test the web application locally by setting DEBUG = True in
settings.py and running the following: settings.py and running the following:
python manage.py runserver python3 manage.py runserver
Then visit http://127.0.0.1:8000/layerindex/ with your browser. As Then visit http://127.0.0.1:8000/layerindex/ with your browser. As
with all Django applications there is an admin interface available with all Django applications there is an admin interface available