First you need to install Ruby. Best way is by downloading Railinstaller
Go to Mispy's framework, and download the .ZIP via the download button on the right side.
On the side there is a tutorial for setting up your bot.
Create your bot's Twitter account. (You will need to confirm your email!)
Go to dev.twitter and log in with your new account.
Create a new app, go to 'Permissions' Tab and choose 'Read and Write'.
Go to the Tab 'API Keys' and here you can generate your access token.
Now copy 'API Key', 'API secret', 'Access token' and 'Access token secret', pass them into bots.rb as string into: (Don't share them with anybody)
bot.consumer_key = "" # Your app consumer key
bot.consumer_secret = "" # Your app consumer secret
bot.oauth_token = "" # Token connecting the app to this account
bot.oauth_token_secret = "" # Secret connecting the app to this accountWrite your first bots code, just edit bots.rb, which requires a bit of coding knowledge. :)
Twitter Bot examples for this can also be found on Mispy's framework
Go to http://heroku.com/ and create an account.
Install Heroku's Toolbelt Further Information
Inside your generated folder with your code from STEP 2 and STEP 4 create a textfile and save it as xy.bat (name doesn't matter)
Double click the Batch file you just created and login to Heroku
Now type the following three commands:
$ git init
$ git add .
$ git commit -m "init"Create your app on heroku:
$ heroku createFinally deploy your code online:
$ git push heroku masterStart its process manually in heroku by entering your app and dragging the dynos bar to 1 Or by typing this code: (easier)
$ heroku ps:scale web=1Open your .bat file again and type these commands in: (Info for Ruby on Heroku)
$ git init
$ git add .
$ git commit -m "init"
$ git push heroku masterThis step is rather easy. Just make a new yourname.rb file and code your second/third etc. bot.
Open run.rb and add this line under 'require relative 'bots':
require relative 'yourname'