run_torqbox.sh 229 B

123456789
  1. #!/bin/bash
  2. fw_depends rvm java7 jruby-1.7.8
  3. sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
  4. rvm jruby-1.7.8 do bundle install --gemfile=$TROOT/Gemfile
  5. rvm jruby-1.7.8 do bundle exec torqbox -b 0.0.0.0 -E production &