Skip to content

Instantly share code, notes, and snippets.

@satbirdd
Last active August 29, 2015 14:01
Show Gist options
  • Save satbirdd/ecc3028ba7098b3fe6b9 to your computer and use it in GitHub Desktop.
Save satbirdd/ecc3028ba7098b3fe6b9 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /vagrant
bundle
bundle exec rake db:create RAILS_ENV=production
bundle exec rake db:migrate RAILS_ENV=production
bundle exec sidekiq
rails s -p 5000 -e production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment