Start of ETL for all events for progressive applications.
The following is based on the Heroku Python Getting Started Guide
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.
$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate
$ heroku open
or
Setup buckets in etl/peoplepower/main.py
Checkout http://peoplepower.actionkit.com/rest/v1
for more info
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 |