aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/doc/sample_configs/deploy.rb')
-rw-r--r--site/doc/sample_configs/deploy.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/site/doc/sample_configs/deploy.rb b/site/doc/sample_configs/deploy.rb
new file mode 100644
index 0000000..8d0543d
--- /dev/null
+++ b/site/doc/sample_configs/deploy.rb
@@ -0,0 +1,18 @@
+# Do not change those
+require 'bundler/capistrano'
+
+set :repository, "git://git.overlays.gentoo.org/proj/council-webapp.git"
+set :scm, "git"
+set :branch, "master"
+set :deploy_subdir, "site"
+
+# Capistrano will ssh to those hosts
+role :web, "localhost"
+role :app, "localhost"
+role :db, "localhost"
+
+# and will use this user name
+set :user, 'joszi'
+
+#and will put site in subdirectory of
+set :deploy_to, "/home/joszi/app.git/"