Last active
October 29, 2016 18:49
-
-
Save aweekj/3ba9bccccd1a084ec9389bc43cc6ba77 to your computer and use it in GitHub Desktop.
Twitter Bot Tutorial (3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker: python bot.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python-3.5.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment