azavea/nyc-trees — pull request #163 by hectcastro (2014-12-19 15:16:10+00:00)
Title: Make application run in production mode

This changeset makes changes to the Django application, and application specific provisioning tasks in order to produce an Amazon Machine Image (AMI).

Summary of key changes:

- Update Ansible to 1.8.2
- Add Git as a dependency across the board
- Add `django-statsd-mozilla` to base requirements file
- Add a default cache to the production settings
- Add `POSTGIS_VERSION` setting to avoid talking to DB for collectstatic
- Set an application `SECRET_KEY`
- Add `.amazonaws.com` to `ALLOWED_HOSTS`
- Set this branch as the deploy branch (for easier testing)