Sha256: 6b315541cddc2eb191b2360ca2d2c3c336eb5ce050088a507aa028c9273818aa

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

Contents

h1. Railsmachine

A set of capistrano recipes for simplifying the deployment of Rails applications.

The deployment process looks like this:

<code>
  <pre>
    cd <app_directory>
    capify .
    railsmachine --apply-to . --name <app_name> --domain <yourdomain.com>
    cap repos:setup
    cd ../<app_name>_machine
    cap servers:setup deploy:cold
  </pre>
</code>

Under the default configuration the gem will use these directories:

<code>
  <pre>
    /var/www/apps/            - Rails applications
    /etc/httpd/conf/apps/     - Apache configurations
    /var/run/mongrel_cluster/ - Mongrel pid files
    /etc/mongrel_cluster/     - Mongrel cluster configurations
  </pre>
</code>

h3. Requirements

* a 'deploy' system account with write access to the above directories.
* You also need a 'deploy' mysql account with all privileges on *.* and grant option.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
railsmachine-railsmachine-1.0.3 README.textile