Skip to content

Instantly share code, notes, and snippets.

@gabeodess
Last active August 29, 2015 14:22
Show Gist options
  • Save gabeodess/4db5acbfa7aedaa9ed25 to your computer and use it in GitHub Desktop.
Save gabeodess/4db5acbfa7aedaa9ed25 to your computer and use it in GitHub Desktop.
Start Frontend, API, and Sidekiq in 1 command
bundle install --gemfile=/path/to/api/Gemfile
echo Procfile-dev >> .gitignore
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
foreman start -f Procfile-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment