Unofficial Getchef community cookbook information from barkshelf api.
The informations are published to https://twitter.com/getgetchef
- Tweet new cookbook name and version.
perform every 10 minutes following
- create a staging list from Berkshelf API.
- compare between the staging list and a current list.
- tweet nothing but the current list.
- save the staging list as the current list.
- Heroku http://www.heroku.com/
- Redis to Go http://redistogo.com/
- Twitter http://twitter.com
- Redis
- Rake
- Sidekiq
- Heroku Scheduler
Tweet your own twiiter account.
- heroku account
- Twitter OAUTH Token(Writeable)
heroku create
heroku addons:add redistogo:nano
heroku addons:add scheduler:standard
heroku config:add TWITTER_CONSUMER_KEY="YOUR_CONSUMER_KEY"
heroku config:add TWITTER_CONSUMER_SECRET="YOUR_CONSUMER_SECRET"
heroku config:add TWITTER_OAUTH_TOKEN="YOUR_OAUTH_TOKEN"
heroku config:add TWITTER_OAUTH_TOKEN_SECRET="YOUR_OAUTH_TOKEN_SECRET"
git push heroku master
heroku ps:scale sidekiq=1
Add task rake perform:heroku
at web console.
Connect your redis and use spop current_sets
to remove one cookbook.
Wait for tweet about deleted cookbook as new cookbook. Or manualy heroku run rake perform:heroku
.
- https://github.com/sawanoboly (HiganWorks LLC)