Path: | doco/getting_started.txt |
Last Update: | Tue Aug 26 03:30:35 -0600 2008 |
set :application, "project" set :domain, "example.com" set :deploy_to, "/path/to/install" set :repository, 'http://svn.example.com/project/branches/stable/'
This defaults to using ‘svn export’ from repository, and a single server for app, db, and www. If you need to tweak these things, refer to the variable documentation.
begin require 'vlad' Vlad.load rescue LoadError # do nothing end
Vlad.load has a lot of flexibility. See the rdoc for full information.
You don‘t need the begin/rescue/end block if you ensure that Vlad is installed on all your servers. To be lazy, you can install vlad via:
% rake vlad:invoke COMMAND='sudo gem install vlad -y'
Each step may be run separately.