Permalink
Browse files

Updated the format of config

  • Loading branch information...
1 parent fbd0cc0 commit 84a5cbbb14ae8a4acd8f1b80b2d4eb086e35245f @alistairstead committed Mar 12, 2012
Showing with 9 additions and 6 deletions.
  1. +2 −3 bin/magentify
  2. +7 −3 lib/mage.rb
View
@@ -53,9 +53,8 @@ set :repository, "#{domain}:/var/repos/#{application}.git"
set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, `subversion` or `none`
-role :web, domain # Your HTTP server, Apache/etc
-role :app, domain # This may be the same as your `Web` server
-role :db, domain, :primary => true # This is where Rails migrations will run
+role :web, domain # Your HTTP server, Apache/etc
+role :app, domain # This may be the same as your `Web` server or a separate administration server
set :keep_releases, 3
View
@@ -4,11 +4,15 @@
# These variables MUST be set in the client capfiles. If they are not set,
# the deploy will fail with an error.
# =========================================================================
-_cset(:app_symlinks) {
+_cset(:app_symlinks) {
abort "Please specify an array of symlinks to shared resources, set :app_symlinks, ['/media', ./. '/staging']"
}
-_cset(:app_shared_dirs) { abort "Please specify, set :app_shared_dirs" }
-_cset(:app_shared_files) { abort "Please specify, set :app_shared_files" }
+_cset(:app_shared_dirs) {
+ abort "Please specify an array of shared directories to be created, set :app_shared_dirs"
+}
+_cset(:app_shared_files) {
+ abort "Please specify an array of shared files to be symlinked, set :app_shared_files"
+}
_cset :compile, false

0 comments on commit 84a5cbb

Please sign in to comment.