Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 722 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 722 Bytes

events-map-updater

App to update event data and invalidate cache for map.ourrevolution.com.

fab deploy_event_data runs every hour on a Heroku dyno with the Heroku scheduler add-on.

Install

  1. Clone repo into your workspace: git clone [email protected]:Our-Revolution/events-map-updater.git
  2. Change directory: cd events-map-updater
  3. Make virtual environment: mkvirtualenv events-map-updater
  4. Enable virtual environment: workon events-map-updater
  5. Add/export any necessary config variables to your environment
  6. Install packages: pip install -r requirements.txt

Usage

  1. After you have done all the install steps including environment variables, then run fabric script: fab deploy_event_data