Last active
August 29, 2015 13:58
-
-
Save nevalla/10020823 to your computer and use it in GitHub Desktop.
Use subcontractor gem to launch multiple applications with 'foreman start' command
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
project1-api: subcontract --rvm ../project1-api --chdir ../project1-api -- rails s -p 3000 | |
project1-sidekiq: subcontract --rvm ../project1-api --chdir ../project1-api -- bundle exec sidekiq | |
project1-web-ui: subcontract --rvm ../project1-web-ui --chdir ../project1-web-ui -- rails s -p 3001 | |
project2-api: subcontract --rvm ../project2-api --chdir ../project2-api -- rails s -p 4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment