aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-08-03 11:01:06 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-08-03 17:29:37 +0200
commit030bf52531710c1e70401fbd1328a2df30a07686 (patch)
treebf49b978f229d550b9daedb587365a1ae2d1d9a7 /site
parentCustom doodle-like feature (diff)
downloadcouncil-webapp-030bf52531710c1e70401fbd1328a2df30a07686.tar.gz
council-webapp-030bf52531710c1e70401fbd1328a2df30a07686.tar.bz2
council-webapp-030bf52531710c1e70401fbd1328a2df30a07686.zip
README for the applicationHEADmaster
Diffstat (limited to 'site')
-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>