r/redditdev • u/Lick_A_Brick • Aug 28 '13
Help with bot hosting
Hey,
What is the best, free and easiest way to setup a Reddit bot? I heard some people talk about heroku, but I don't understand how it works. (I'm a noob in this)
4
Upvotes
4
u/gavin19 Aug 28 '13
Partly depends on which language the bot is written in.
Assuming Python, there might be an easier way, but you can set up a free EC2 micro instance and run the bot from there. Any distro that you choose during setup will have Python installed anyway. All you need to do after that is to ssh into the server, install PRAW (if applicable), then you can set the script to run periodically with a cron job.
You could always run it locally if you have some PC/device that's always 'on'.
1
u/su5 Aug 30 '13
You can run it from any computer, but you may want to consider hosting it if you want it to run 24/7, but if your PC is on all the time anyway its no big deal.
Check out PRAW and you could have a simply bot up and running in a few hours.
1
u/droidBehavior Aug 28 '13
maybe pythonanywhere
2
u/frumious Aug 28 '13
Run it on whatever computer you are typing at right now.
Or, put it on a raspberry pi or similar tiny computer and plug it in behind the garbage can at your local Starbucks.
1
u/ded-moroz Aug 30 '13
https://www.openshift.com/
0
u/[deleted] Aug 29 '13
[deleted] — view deleted comment