From 2b4f8ed3f9d4af5d8e428fb36227b15fb30b698c Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 28 Aug 2017 22:29:38 +0200 Subject: [PATCH] Document the bootstrap-devsite command --- README.md | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index aa5b0337..0e2401db 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,27 @@ Is this for local development? Bootstrap the database with dummy data and users: (venv) $ src/manage.py bootstrap-devsite ``` +### Deploy camps+program test data + +Run this command to create a bunch of nice test data: + +``` + (venv) $ src/manage.py bootstrap-devsite +``` + + +### Done +Is this for local development? Start the Django devserver: +``` + (venv) $ src/manage.py runserver +``` + +Otherwise start uwsgi or similar to serve the application. + +Enjoy! + +## Notes + ### Add a camp Add a new camp by running: @@ -81,19 +102,6 @@ You can also specify details like: * `{camp-slug}-logo-large.png` * `{camp-slug}-logo-small.png` - -### Done -Is this for local development? Start the Django devserver: -``` - (venv) $ src/manage.py runserver -``` - -Otherwise start uwsgi or similar to serve the application. - -Enjoy! - -## Notes - ### multicamp prod migration notes * when villages.0008 migration fails go add camp_id to all existing villages