aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/doc/sample_configs')
-rw-r--r--site/doc/sample_configs/deploy.rb18
-rw-r--r--site/doc/sample_configs/sample_apache_vhost.conf18
2 files changed, 36 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/"
diff --git a/site/doc/sample_configs/sample_apache_vhost.conf b/site/doc/sample_configs/sample_apache_vhost.conf
new file mode 100644
index 0000000..fe1f6ad
--- /dev/null
+++ b/site/doc/sample_configs/sample_apache_vhost.conf
@@ -0,0 +1,18 @@
+<IfDefine DEFAULT_VHOST>
+Listen 80
+
+NameVirtualHost *:80
+<VirtualHost *:80>
+ ServerName mydomain.com
+ DocumentRoot /var/www/localhost/rails/council/site/public
+ RailsBaseURI /var/www/localhost/rails/council/site
+ RailsMaxPoolSize 1
+ RailsPoolIdleTime 3600
+ RailsEnv 'production'
+ <Directory /var/www/localhost/rails/council/site/public>
+ Options FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+</VirtualHost>