From 059127dd5c37033492d4e54f1b78c89b8f143e1c Mon Sep 17 00:00:00 2001 From: Thomas Flummer Date: Wed, 4 Mar 2020 22:26:44 +0100 Subject: [PATCH] Small update to the migrate.py commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added python in front, to make sure it’s the virtualenv version of python that is used --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1335eb49..7a044872 100644 --- a/README.md +++ b/README.md @@ -73,20 +73,20 @@ Edit the configuration file, setting up `DATABASES` matching your Postgres setti Is this a new installation? Initialize the database: ``` -(venv) $ src/manage.py migrate +(venv) $ python src/manage.py migrate ``` Is this for local development? Bootstrap the database with dummy data and users: ``` -(venv) $ src/manage.py bootstrap-devsite +(venv) $ python src/manage.py bootstrap-devsite ``` ### Done Is this for local development? Start the Django devserver: ``` -(venv) $ src/manage.py runserver +(venv) $ python src/manage.py runserver ``` Otherwise start uwsgi or similar to serve the application. @@ -100,7 +100,7 @@ Enjoy! Add a new camp by running: ``` -(venv) $ src/manage.py createcamp {camp-slug} +(venv) $ python src/manage.py createcamp {camp-slug} ``` Then go to the admin interface to edit the camp details, adding the same slug