forked from OpenTreeMap/otm-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
First Installation
alsaihn edited this page Sep 24, 2012
·
4 revisions
- Create a database for your installation. If using Postgresql, use a postgis template and change ownership of all default tables to the database owner.
- Create a new impl_settings.py file and add values as needed. (see this OpenTreeMap group post for the list of recommended settings)
- Update the values in the choices.py file as needed.
- Run manage.py syncdb and create a superuser when prompted. Sample benefit, species and resource data will be automatically imported. Update the benefit data and import species and i-Tree resource data if available.
- Upload zipcode and geographic data into treemap_zipcode and treemap_neighborhood tables. Recommended data for the treemap_neighborhood table are county and municipality boundaries. If municipalities have neighborhood divisions, use neighborhoods boundaries in place of that municipality's polygon.
- Run manage.py update_aggregates.
- Debug and modify the default template to make it your own (Note: default templates are not yet available.)