Last active
August 29, 2015 14:22
-
-
Save gabeodess/4db5acbfa7aedaa9ed25 to your computer and use it in GitHub Desktop.
Start Frontend, API, and Sidekiq in 1 command
This file contains hidden or 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
bundle install --gemfile=/path/to/api/Gemfile | |
echo Procfile-dev >> .gitignore |
This file contains hidden or 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
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb | |
worker: bundle exec sidekiq -C config/sidekiq.yml -v -e $RAILS_ENV | |
web: ~/Sites/api/bin/rails s |
This file contains hidden or 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
foreman start -f Procfile-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment