Skip to content
/ freemium Public

🆓 👷 example of how to use heroku cedar stack to run a free application with web, worker and clock processes

Notifications You must be signed in to change notification settings

phoet/freemium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bf0f187 · Oct 24, 2017

History

12 Commits
Jul 28, 2011
Jul 28, 2011
Jul 28, 2011
Jul 28, 2011
Jul 28, 2011
Jul 28, 2011
Jul 28, 2011
May 8, 2012
Jul 28, 2011
May 10, 2012
May 7, 2012
Oct 24, 2017
Jul 28, 2011
Jul 28, 2011

Repository files navigation

an example project of how to run rails/resque/clockwork for free on heroku.

read the article: http://blog.nofail.de/2011/07/heroku-cedar-background-jobs-for-free/

see the app: https://freemium-web.herokuapp.com

resque-web is mounted here: https://freemium-web.herokuapp.com/resque/overview

setup:

heroku apps:create freemium-web --stack cedar --remote heroku
git push heroku master

heroku apps:create freemium-worker --stack cedar --remote worker
git push worker master

heroku apps:create freemium-clock --stack cedar --remote clock
git push clock master

heroku scale web=1 --app=freemium-web
heroku scale web=0 worker=1 --app=freemium-worker
heroku scale web=0 clock=1 --app=freemium-clock

heroku addons:add redistogo:nano --app=freemium-web

heroku config:add `heroku config -s --app=freemium-web|grep redis` --app=freemium-worker
heroku config:add `heroku config -s --app=freemium-web|grep redis` --app=freemium-clock

About

🆓 👷 example of how to use heroku cedar stack to run a free application with web, worker and clock processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published