Reply to topic
Capistrano?
jv


Joined: 19 Oct 2006
Posts: 2
Reply with quote
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

Joined: 19 Mar 2004
Posts: 178
Reply with quote
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?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic