Skip to content

Instantly share code, notes, and snippets.

@kbrock
Created December 5, 2012 16:08
Show Gist options
  • Select an option

  • Save kbrock/4216957 to your computer and use it in GitHub Desktop.

Select an option

Save kbrock/4216957 to your computer and use it in GitHub Desktop.
# Create a file: config/torquebox_remote.rb
TorqueBox::RemoteDeploy.configure do
torquebox_home "/usr/local/torquebox"
jruby_home "/usr/local/jruby"
hostname "10.0.3.50"
#port "22"
user "deployer"
key "#{ENV['HOME']}/.ssh/deployer_rsa"
#sudo true
end
vagrant@all:/usr/local/torquebox/jboss/standalone/deployments$ ls -al
total 14268
drwsrwsr-x 2 torquebox torquebox 4096 Dec 4 23:30 .
drwxr-xr-x 8 torquebox torquebox 4096 Nov 29 21:07 ..
-rw-r--r-- 1 deployer torquebox 14580354 Dec 4 23:30 quick.knob
-rw-rw-r-- 1 deployer torquebox 221 Dec 4 23:30 quick-knob.yml
-rw-r--r-- 1 torquebox torquebox 14 Dec 4 23:30 quick-knob.yml.deployed
-rwxr-xr-x 1 torquebox torquebox 8870 Jun 15 13:43 README.txt
vagrant@all:/usr/local/torquebox/jboss/standalone/deployments$ more quick-knob.yml
application:
root: /usr/local/torquebox/jboss/standalone/deployments/quick.knob
environment:
RACK_ENV: production
RAILS_ENV: production
web:
context: /quick
vagrant@all:/usr/local/torquebox/jboss/standalone/deployments$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment