Skip to content
 
 

Repository files navigation

Events ETL (a map-for-change racket)

Start of ETL for all events for progressive applications.

Setting up Local Heroku

The following is based on the Heroku Python Getting Started Guide

Running Locally

Make sure you have Python installed properly. Also, install the Heroku Toolbelt and Postgres.

$ pip install -r requirements.txt

$ createdb python_getting_started

$ python manage.py migrate
$ python manage.py collectstatic

$ heroku local

Your app should now be running on localhost:5000.

Creating Heroku App

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate
$ heroku open

or

Deploy

Deploying changes to Heroku

$ heroku create
$ git push heroku master

Setting Up ETL

Buckets

Setup buckets in etl/teaminternet/main.py

Documentation

Checkout http://act.demandprogress.org/rest/v1 for more info

ENV VARS

key description
EVENTS_CAMPAIGN_URL API for the Action Kit Events Campaign. Preface it with :
AWS_ACCESS_KEY_ID AWS Access Key for the respective AWS
AWS_SECRET_ACCESS_KEY AWS Secret Key
AWS_HOST AWS HOST

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages