Skip to content

aclu-people-power/events-etl

 
 

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.

Deploying to Heroku

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate
$ heroku open

or

Deploy

Setting Up ETL

Buckets

Setup buckets in etl/peoplepower/main.py

Documentation

Checkout http://peoplepower.actionkit.com/rest/v1 for more info

ENV VARS

key description
PEOPLEPOWER_LAUNCH_URL API for the People Power LAUNCH campaign. Preface it with :
PEOPLEPOWER_ACTION_URL API Endpoint for the People Power ACTION campaign
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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.5%
  • HTML 17.5%