-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
48 lines (34 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
======================
The "Hack Day" Web App
======================
A friendly little website for helping your organization run a Hack Day event.
We aim to address:
* participant registration
* team creation and management
* project memorialization (file upload)
* communications
* blog
* twitter
* facebook
* email
* staff-managed wiki
* voting
* site themes
The site is built on Django 1.3 and Python 2.7. We strive for PEP-8ness, clean
code, and test coverage, in roughly that order.
Developing
==========
Get a virtualenv all set up:
virtualenv --python=python2.7
source hackday/bin/activate
pip install -r requirements.txt
Create the database dir (location specified in settings.py):
mkdir hackday/db
Re-creating Seed Data
=====================
The seed data can be re-generated with the dumpdata command. For readability
this is in XML cleaned up by tidy.
NOTE: There is a lot of junk in the db seed, most of which will be re-generated
by django during the syncdb process. It is advisable to trim down the data in
your seed to only the bare essential data that you wish to be loaded.
hackday/manage.py dumpdata --format=xml | tidy -xml -indent