pycurator
=========

Python script to fetch tweets on twitter lists and send them by email.



pycurator
=========

Python script to fetch tweets from twitter lists and send them by email.


## Deploy on heroku

- [Create a new twitter app](https://apps.twitter.com/) and get your credentials. You need your:
  - Consumer Key
  - Consumer Secret
  - Access Token
  - Access Token Secret
  
- [Create a new heroku app](https://dashboard.heroku.com/new):
  - You need to add at least the free version of the heroku redis add-on.
  - [Optional] Add the logentries add-on to keep track of your logs.
  - Set the environment variables:
    - TWITTER_ACCESS_TOKEN
    - TWITTER_ACCESS_TOKEN_SECRET
    - TWITTER_CONSUMER_KEY
    - TWITTER_CONSUMER_SECRET
    - TWITTER_LIST_SLUGS
    - TWITTER_SCREEN_NAME
    - SMTP_HOST
    - SMTP_PORT
    - SMTP_USERNAME
    - SMTP_PASSWORD
  - Scale and at one worker:
  
    ```shell
    heroku scale workers=1
    ```

Add first doc draft to deploy on heroku
Add first doc draft to deploy on heroku