Closed ohnorobo closed 10 years ago
I would re-title this issue as 'Deploy'. The Code for Boston server (DigitalOcean) is a great place for this, with no external services required. Less fragmentation, too.
It'll require a little Capistrano, but we have people who can do & teach that. And some cron
.
Either is fine with me as long as it's documented. (Probably add a 'tweet periodically' section to the readme)
I think capistrano might be overkill for this since the only setup is
Just adding an example crontab file to the repo and a readme comment should be enough.
# add the following to your crontab (using crontab -e)
# tweets at 8:00am and 4:00pm every day
00 08,16 * * * cd /path/to/cuties && /usr/local/bin/rake tweet
You are correct -- it's overkill. :+1: to a cron example and documentation.
I set up my work computer and not my home one with all the SSH config. If we're looking to deploy tonight, I'd recommend someone else (cough @ohnorobo) do it & document it.
This project should be set up on free-tier heroku using the heroku scheduler to tweet at intervals https://addons.heroku.com/scheduler
There should be very complete documentation for this. We want to make this app easy to deploy at other locations that use Petfinder.com