Heroku

From HaFrWiki
Revision as of 11:06, 21 June 2015 by Hjmf (talk | contribs) (Created page with "{{TOCright}} == Foreman == Foreman is ''a manager for Procfile-based applications. Its aim is to abstract away the details of the Procfile format, and allow you to either run...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Foreman

Foreman is a manager for Procfile-based applications. Its aim is to abstract away the details of the Procfile format, and allow you to either run your application directly or export it to some other process management format.

Procfile application

A Procfile application is an application that has a Procfile with instructions to start various processes it needs to run correctly.
Here’s how a Procfile might look like:

rails: bundle exec rails s
postgres: postgres -D /Users/mauricio/databases/postgresql
elasticsearch: elasticsearch -f

Environment Files

Foreman automatically loads the .env file that is at the same directory as your Procfile.


See also

top

  • Heroku Devcenter, Getting started Tutorial. Shows how to create, deploy on Local-Development & Remote-Production a java app with maven.

Reference

top