Skip to content

Instantly share code, notes, and snippets.

@aweekj
Last active October 29, 2016 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aweekj/3ba9bccccd1a084ec9389bc43cc6ba77 to your computer and use it in GitHub Desktop.
Save aweekj/3ba9bccccd1a084ec9389bc43cc6ba77 to your computer and use it in GitHub Desktop.
Twitter Bot Tutorial (3)
(env) $ touch runtime.txt Procfile
(env) $ pip freeze > requirements.txt
(env) $ git init
(env) $ git add .
(env) $ git commit -m "Initial commit - My Twitter Bot"
(env) $ heroku login
(env) $ heroku create [APP_NAME]
(env) $ git remote -v
(env) $ git push heroku master
(env) $ heroku run worker
worker: python bot.py
beautifulsoup4==4.5.1
oauthlib==2.0.0
pytz==2016.7
requests==2.11.1
requests-oauthlib==0.7.0
six==1.10.0
tweepy==3.5.0
python-3.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment