Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulating Heroku on local computer

I'm new to Heroku and Ruby on Rails and this may seem trivial. But I could not find the answer.

The Google App Engine has a web server application that emulates all of the App Engine services on local computer. Does Heroku have something similar?

Basically I want to run/debug RoR app on local machine before pushing it to Heroku.

like image 388
grigy Avatar asked Oct 19 '11 12:10

grigy


1 Answers

If you are on the Cedar stack, there is a local utility called foreman that can read your procfile to simulate how it will run on Heroku. More info about it is on Dev Center here:

https://devcenter.heroku.com/articles/procfile#developing-locally-with-foreman

like image 184
ryanbrainard Avatar answered Sep 30 '22 17:09

ryanbrainard