Last change
on this file since 9750 was 9657, checked in by rick, 13 years ago |
Include some pointers towards deployment and hacking...
|
File size:
1.2 KB
|
Rev | Line | |
---|
[9657] | 1 | == NOTES ==
|
---|
| 2 | - Django 1.3 is required, Ubuntu 11.04 comes with 1.2 by default.
|
---|
| 3 |
|
---|
| 4 | == QUICK AND VERY DIRTY ==
|
---|
| 5 | $ sudo apt-get install python-lxml python-yaml python-setuptools \
|
---|
| 6 | python-pygame subversion rsync
|
---|
| 7 | $ sudo easy_install django django-extensions
|
---|
| 8 | $ sudo mkdir -p /usr/local/var/cache/django
|
---|
| 9 | $ sudo chmod 777 /usr/local/var/cache/django
|
---|
| 10 | $ svn co http://svn.wirelessleiden.nl/svn/node-config/genesis
|
---|
| 11 | $ svn co http://svn.wirelessleiden.nl/svn/projects/Heatmap/src/django_gheat
|
---|
| 12 |
|
---|
| 13 | == IMPORT scan-data ==
|
---|
| 14 | $ ./django_gheat/import_scan_data.sh
|
---|
| 15 |
|
---|
| 16 | == IMPORT node features ==
|
---|
| 17 | $ ./genesis/tools/genesis-to-yaml.pl
|
---|
| 18 | $ ./genesis/tools/gformat.py cleanup
|
---|
| 19 | $ ./genesis/tools/gformat.py full-export | ./django_gheat/manage.py import_nodes -
|
---|
| 20 |
|
---|
| 21 | == DEVELOPMENT - RUN ==
|
---|
| 22 | $ ./django_gheat/manage.py runserver 0.0.0.0:8000
|
---|
| 23 |
|
---|
| 24 | == HACKING ==
|
---|
| 25 | - genesis is the Wireless Leiden configuration database.
|
---|
| 26 | - django_gheat is the working directory.
|
---|
| 27 | - ../gheat contains all backend models.
|
---|
| 28 | - ../wlheatmap contains frontend (inc rendering engine).
|
---|
| 29 |
|
---|
| 30 | == PRODUCTION ==
|
---|
| 31 | Please have a look at the apache ./httpd config examples
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | Questions, Suggestions or Patches welcome!
|
---|
| 35 | Wireless Leiden Techniek <techniek@lijst.wirelessleiden.nl>
|
---|
| 36 |
|
---|
| 37 | Enjoy!
|
---|
| 38 | /Rick <info@rickvanderzwet.nl>
|
---|
| 39 |
|
---|
| 40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.