Installation - ccnmtl/footprints Wiki
PostgresSQL with PostGIS geo-aware extensions
- In development, Footprints can be configured to use an in-memory Celery configuration and a simple search backend.
- Footprints uses SpatiaLite to run unit tests.
- See the Local Solr Instance page for more information on how to develop Footprints locally.
If you are planning to contribute to the project, first fork the repository into your own account.
Clone Footprints into your local development environment.
Build the PostgresSQL database
A. Make sure you have PostGIS installed and configured.
B. Create the database
Create a local_settings.py file in the footprints subdirectory. Override the variables from
settings_shared.pythat you need to customize for your local installation. At a minimum, you will need to customize your
DATABASESdictionary. See the example local_settings.py file for more information.
Build Footprints uses a Makefile to control the build. Simply run
maketo build the virtualenv and run tests.
Sync the database
Run locally (during development only)