From bdf38b74079957550bfac6576f382f97c2e836e4 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 28 Aug 2017 22:11:30 +0200 Subject: [PATCH] Adding a camp is mandatory, specify how to add it --- README.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index a5efd056..aa5b0337 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 ``` +### Add a camp + +Add a new camp by running: + +``` + (venv) $ src/manage.py createcamp {camp-slug} +``` + +Then go to the admin interface to edit the camp details, adding the same slug +that you just used and some current dates. + +You can also specify details like: + +* A sponsors page, `{camp-slug}_sponsors.html`, to `sponsors/templates`. +* A frontpage, `{camp-slug}_camp_detail.html`, to `camps/templates`. +* A call for speakers page, `{camp-slug}_call_for_speakers.html`, to `program/templates`. +* A `static_src/img/{camp-slug}/logo` and add two logos: + * `{camp-slug}-logo-large.png` + * `{camp-slug}-logo-small.png` + + ### Done Is this for local development? Start the Django devserver: ``` @@ -73,23 +94,6 @@ Enjoy! ## Notes -### How to add a camp - -Add a new camp in the admin interface and run - -``` - (venv) $ src/manage.py createcamp {camp-slug} -``` -or go through the manuel process below: - -* Add a new camp in the admin interface. -* Add a sponsers page, `{camp-slug}_sponsors.html`, to `sponsors/templates`. -* Add a frontpage, `{camp-slug}_camp_detail.html`, to `camps/templates`. -* Add a call for speakers page, `{camp-slug}_call_for_speakers.html`, to `program/templates`. -* Create `static_src/img/{camp-slug}/logo` and add two logos: - * `{camp-slug}-logo-large.png` - * `{camp-slug}-logo-small.png` - ### multicamp prod migration notes * when villages.0008 migration fails go add camp_id to all existing villages