Document the bootstrap-devsite command
This commit is contained in:
parent
bdf38b7407
commit
2b4f8ed3f9
34
README.md
34
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
|
||||
|
|
Loading…
Reference in a new issue