/
INSTALL.txt
31 lines (21 loc) · 984 Bytes
/
INSTALL.txt
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
Bin Alerts - how to get it running
==========
It's a normal Django application. You can find the heart of things in
pylib/djangoproj.
It's using South, so you need to run both syncdb and migrate to set up the
databases.
./manage.py syncdb
./manage.py migrate
Please use South for future binalerts migrations too.
You can load collection time data in with one of these, a small sample used by
the test code:
./manage.py loadpdf garden_sample_pdf.xml
... or a large full file: (this is Garden Waste, but includes postcodes)
./manage.py loadpdf garden-and-kitchen-waste-collection-streets.xml
...then load the Domestic waste (lacks postcodes):
./manage.py loadcvs refuse_rounds_road_day.csv
For me only the binalerts app tests work (not the Django core ones). So I run
tests like this:
./manage.py test binalerts
It's being made with test driven development. So please add tests first, or if
you really can't discipline yourself, add them afterwards :)