Heroku emulation on a local computer

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

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

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

+5
source share
4 answers

The Heroku CLI team has a command localto run your application locally. Without parameters, it will start the processes defined in Procfilethe root of the application using any environment variables defined in .env:

heroku local

, .env Procfile local, .: https://devcenter.heroku.com/articles/heroku-local

+1

Heroku , , , . , Ruby 1.9.2 , - Heroku http://devcenter.heroku.com/categories/platform-constraints. Postgres , , DB heroku, .

+1

All Articles