Coder Social home page Coder Social logo

phoet / freemium Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 7.0 83 KB

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

Home Page: http://blog.nofail.de/2011/07/heroku-cedar-background-jobs-for-free/

Ruby 59.90% JavaScript 29.99% HTML 10.11%

freemium's Introduction

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

freemium's People

Contributors

phoet avatar

Stargazers

Artem Innokentiev avatar zacklocx avatar Ronald Das avatar Ori avatar Angus H. avatar Juan Pablo Balarini avatar J Gabriel avatar Dennis Ideler avatar Michael Fairchild avatar Kenner Kliemann avatar Arthur Nogueira Neves avatar Braden Schaeffer avatar Paul Deardorff avatar Reuben Cummings avatar Nathan Broadbent avatar Benjamin Fleischer avatar Pawel Ceranka avatar Jack Jennings avatar Giovani Generali avatar  avatar A. avatar  avatar John Gesimondo avatar Cyrus Stoller avatar Martin Samami ใƒƒ avatar Ilya Katz avatar  avatar top secret avatar Joel Van Horn avatar Klaut avatar Leo Lou avatar Jerry Tian avatar Elad Ossadon avatar  avatar Georg Kreimer avatar Alvin Lai avatar Ian Neubert avatar

Watchers

Daniel Morris avatar  avatar ketan avatar James Cloos avatar  avatar

freemium's Issues

Nice Work need some clarification

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

after creating apps, how can you push to heroku master if there is not even freemium-worker reemium-clock reemium-web folders and there is no git repository. Do you create separate sinatra or rails apps and then do above instructions?

Do you add redistogo for all three apps. How about workers, all of them should have it?

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.