Deploying a Production app *without* Capistrano...?

Hi All,

Silly question here, but what is the quickest route for setting up a
simple rails app with load balancing without Capistrano? My current
server “rails.conf” file looks like this:

NameVirtualHost *:80

Setup the cluster

<Proxy balancer://gittest_cluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
BalancerMember http://127.0.0.1:8002

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName localhost
ServerAlias localhost
DocumentRoot /home/git/apps/gittest/current/public
<Directory ‘/home/git/apps/gittest/current/public’>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

ProxyPass / balancer://gittest_cluster/
ProxyPassReverse / balancer://gittest_cluster/

RewriteEngine On

RewriteRule ^/$ /index.html [QSA]

RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://gittest_cluster%{REQUEST_URI}
[P,QSA,L]

ErrorLog /home/git/apps/gittest/current/log/apache_error_log
CustomLog /home/git/apps/gittest/current/log/apache_access_log
combined

…but that’s for use with a Cap deploy. I’m honestly rather stumped
as to how to get something running without Capistrano.

Thanks in advance.

On Jun 18, 6:55 pm, gberz3 [email protected] wrote:

Hi All,

Silly question here, but what is the quickest route for setting up a
simple rails app with load balancing without Capistrano? My current
server “rails.conf” file looks like this:

There is nothing in there that is capistrano specific. All yo need to
do is checkout your app info /home/git/apps/gittest/current/ and start
a mongrel cluster running on ports 8000-8002. (mongrel_rails
cluster::start assuming your mongrel_cluster.yml file is ready to go)

Fred

On Jun 18, 2:06 pm, Frederick C. [email protected]
wrote:

There is nothing in there that is capistrano specific. All yo need to
do is checkout your app info /home/git/apps/gittest/current/ and start
a mongrel cluster running on ports 8000-8002. (mongrel_rails
cluster::start assuming your mongrel_cluster.yml file is ready to go)

Fred

That last part “assuming your mongrel_cluster.yml” is ready to go.
Will the default cluster file work? And I will be SSHing to the
machine to start the process. I’ll need a process that is self-
sufficient without requiring me to remain logged in. For instance,
with a “Development” cluster start, if I close the session out, the
mongrel process chokes out too.

Honestly, I’m looking to break rails tradition with “quick-and-dirty”

Thanks again, and in advance.

Shouldn’t be a problem … before there was Capistrano, there was “old
school.”

On Jun 18, 1:43 pm, Frederick C. [email protected]

On 18 Jun 2008, at 19:18, gberz3 wrote:

cluster::start assuming your mongrel_cluster.yml file is ready to go)

Fred

That last part “assuming your mongrel_cluster.yml” is ready to go.
Will the default cluster file work? And I will be SSHing to the

Yes. We did it like that for ages before we switched to capistrano.