Skip to content

First Installation

alsaihn edited this page Sep 24, 2012 · 4 revisions
  1. Create a database for your installation. If using Postgresql, use a postgis template and change ownership of all default tables to the database owner.
  2. Create a new impl_settings.py file and add values as needed. (see this OpenTreeMap group post for the list of recommended settings)
  3. Update the values in the choices.py file as needed.
  4. 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.
  5. 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.
  6. Run manage.py update_aggregates.
  7. Debug and modify the default template to make it your own (Note: default templates are not yet available.)