2015-10-03 01:07:05 +00:00
|
|
|
# Bornhack
|
|
|
|
|
|
|
|
Django project to power Bornhack.
|
|
|
|
|
2016-02-14 13:20:07 +00:00
|
|
|
Features do not include:
|
2015-10-03 01:07:05 +00:00
|
|
|
- Create camp
|
|
|
|
- Control expenses for a camp
|
|
|
|
- Manage signups for attendees for a camp
|
|
|
|
- ...
|
|
|
|
|
|
|
|
## Quickstart
|
|
|
|
|
2016-07-03 12:27:31 +00:00
|
|
|
|
|
|
|
Create a virtual environment and activate it:
|
|
|
|
|
|
|
|
$ virtualenv venv
|
|
|
|
$ source venv/bin/activate
|
|
|
|
|
|
|
|
Install dependencies:
|
|
|
|
|
|
|
|
(venv) $ pip install -r requirements/development.txt
|
|
|
|
|
|
|
|
Copy environment file and change settings like DATABASE_URL:
|
|
|
|
|
|
|
|
(venv) $ cp bornhack/settings/env.dist bornhack/settings/.env
|
|
|
|
|
|
|
|
Run `make`
|
|
|
|
|
|
|
|
(venv) $ make
|
|
|
|
|
|
|
|
Which is equivalent with this:
|
|
|
|
|
|
|
|
(venv) $ ./manage.py migrate --settings=bornhack.settings.development
|
|
|
|
(venv) $ ./manage.py createsuperuser --settings=bornhack.settings.development
|
|
|
|
(venv) $ ./manage.py runserver --settings=bornhack.settings.development
|