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.
- Clone repo into your workspace:
git clone [email protected]:Our-Revolution/events-map-updater.git
- Change directory:
cd events-map-updater
- Make virtual environment:
mkvirtualenv events-map-updater
- Enable virtual environment:
workon events-map-updater
- Add/export any necessary config variables to your environment
- Install packages:
pip install -r requirements.txt
- After you have done all the install steps including environment variables, then run fabric script:
fab deploy_event_data