Created
August 21, 2013 19:37
-
-
Save jreisstudio/6299144 to your computer and use it in GitHub Desktop.
Foreman - utilização
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---: gem install foreman | |
---: gem install subcontractor (para usar projetos que dependem de gemsets diferentes!) | |
---: Criar o Procfile assim: | |
app1: subcontract --rvm <<versao ruby>>@<<app1> --chdir ./<<diretorio app1>> --signal INT -- bundle exec rails s | |
app2: subcontract --rvm <<versao ruby>>@<<app2> --chdir ./<<diretorio app2>> --signal INT -- bundle exec rackup | |
. | |
. | |
. | |
e assim por diante... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment