Merge pull request #477 from bornhack/readme-update

Small update to the migrate.py commands
This commit is contained in:
Víðir Valberg Guðmundsson 2020-03-05 07:01:02 +01:00 committed by GitHub
commit 01e9b6c374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,20 +73,20 @@ Edit the configuration file, setting up `DATABASES` matching your Postgres setti
Is this a new installation? Initialize the database: 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: 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 ### Done
Is this for local development? Start the Django devserver: 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. Otherwise start uwsgi or similar to serve the application.
@ -100,7 +100,7 @@ Enjoy!
Add a new camp by running: 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 Then go to the admin interface to edit the camp details, adding the same slug