From 030bf52531710c1e70401fbd1328a2df30a07686 Mon Sep 17 00:00:00 2001 From: Joachim Filip Ignacy Bartosik Date: Wed, 3 Aug 2011 11:01:06 +0200 Subject: README for the application --- site/doc/sample_configs/deploy.rb | 18 ++++++++++++++++++ site/doc/sample_configs/sample_apache_vhost.conf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 site/doc/sample_configs/deploy.rb create mode 100644 site/doc/sample_configs/sample_apache_vhost.conf (limited to 'site') 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 @@ + +Listen 80 + +NameVirtualHost *: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' + + Options FollowSymLinks + AllowOverride None + Order allow,deny + Allow from all + + -- cgit v1.2.3