![]() |
| Capistrano? |
|
jv
|
Has anyone successfully deployed a Rails app to HMS using Capistrano?
I'm in the process of trying this out right now. Specifically, I'm wondering about the following two things: - if there's any way to restart the app servers (ps uxww | grep 'dispatch\.\(fcgi\)\?' always returns no processes, so there's nothing to kill) - if SSH access to the db servers is available, to run db backup tasks and such. Thanks! |
||||||||||||
|
|
|||||||||||||
|
pmeserve
HostMySite Tech
|
I've not yet used Capistrano, but have considered it in the past. To answer your questions:
* something like this should get PIDs for any of your running FCGI processes: "ps cx | grep dispatch\.fcgi | cut -d\ -f1" * SSH access to the MySQL servers is not allowed, but you should be able to run backups/etc. via the mysql command line utils on the web server(you'd just need to set the appropriate host with the -h flag) |
||||||||||||
|
|
|||||||||||||
| Capistrano? |
|
||
|


