> Google Cache to the rescue: below are the steps to setup your our
> Shelby Center.
> ---------------------------------------------------------------------------
> How To Setup Shelby Center On A Windows Server:
> ---------------------------------------------------------------------------
> We hope that this little tutorial will help you have an easy install of
> Shelby Center for your Ministry. There is also some other helpful
> information on getting Ruby on Rails up and running on ruby on rails at
> the rails wiki. We are going to try to have a simpler w
> If you see any errors or have any hints please update this page.
> Our Way - We are recommending that you use Apache instead of IIS
> because it is better at handling FastCGI. You can use IIS, but if you
> do this tutorial will be pretty useless. ;-)
> Assumptions
> · You will be installing Shelby Center to c:\websites\shelby_center
> Step 1 - Install Supporting Applications
> Get your self a computer with Windows on at and install the following
> programs:
> · Apache Web Server 2.X (http://httpd.apache.org/) or Apache Web
> Server 2.x with SSL (http://www.thompsonbd.com/tutorials/apachessl.php)
> · Ruby 1.8.4 For Windows
> (http://rubyinstaller.rubyforge.org/wiki/wiki.pl)
> · TortoiseSVN (http://tortoisesvn.tigris.org/)
> Step 2 - Install Rails
> Go into your command prompt and type:
> gem install rails
> Step 3 - Install Ruby Zip
> Go into your command prompt and type:
> gem install rubyzip
> Step 4 - Install iCalendar
> Go into your command prompt and type:
> gem install icalendar
> = Step 4 - Install Mongrel= Go into your command prompt and type:
> gem install mongrel
> gem install mongrel_service
> Step 5 - Install RMagick
> Download the rmagick-win32 gem from the RMagick project page on
> RubyForge (http://rubyforge.org/projects/rmagick/) and unzip it into a
> temporary directory. Then enter into the command prompt and go to the
> your temporary directory and run this command: (remember to replace x.x
> with the version of RMagick you downloaded)
> gem install RMagick-win32-1.x.x-mswin32.gem
> Step 6 - Download Shelby Center
> In explorer go to your "C" drive and create the folder "websites". Go
> into that folder and create the folder "shelby_center".
> Right click on the "shelby_center" folder and then click "SVN Checkout"
> and in the URL of repository put:
> http://repository.ministrycentered.com/ShelbyCenter/stable (Not working
> yet)
> for the most recent stable version of Shelby Center or
> http://repository.ministrycentered.com/ShelbyCenter/trunk
> to run on the "Edge" version of Shelby Center.
> Step 7 - Start Mongrel Process
> cd \rails\ShelbyCenter
> mongrel_rails service::install -N ShelbyCenter -p 4000
> Step 8 - Configure Apache
> Place this at the bottom of your appache configuration file.
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
> ProxyRequests Off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerName shelbycenter.yourdomainname.com
> DocumentRoot "C:/rails_websites/shelby_center/public"
> <Directory "C:/rails_websites/shelby_center/public">
> Options Indexes FollowSymLinks
> AllowOverride none
> Order allow,deny
> Allow from all
> </Directory>
> ProxyPass /images !
> ProxyPass /stylesheets !
> ProxyPass /javascripts !
> ProxyPass /themes !
> ProxyPass / http://127.0.0.1:4000/
> ProxyPassReverse / http://127.0.0.1:4000/
> </VirtualHost>
> If you are using SSL you will need to add this also:
> <VirtualHost *:443>
> RequestHeader set X_FORWARDED_PROTO "https"
> SSLEngine On
> SSLCertificateFile c:/rails_websites/mycert.crt
> SSLCertificateKeyFile c:/rails_websites/mycert.key
> DocumentRoot "C:/rails_websites/shelby_center/public"
> <Directory "C:/rails_websites/shelby_center/public">
> Options Indexes FollowSymLinks
> AllowOverride none
> Order allow,deny
> Allow from all
> </Directory>
> ProxyPass /images !
> ProxyPass /stylesheets !
> ProxyPass /javascripts !
> ProxyPass /videos !
> ProxyPass /themes !
> ProxyPass / http://127.0.0.1:4010/
> ProxyPass / https://127.0.0.1:4010/
> ProxyPassReverse / http://127.0.0.1:4010/
> ProxyPassReverse / https://127.0.0.1:4010/
> </VirtualHost>
> Step 9 - Enable SQL Server In Shelby
> Copy the file c:\websites\shelby_center\doc\ADO.rb to
> C:\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ADO.rb.
> Step 10 - Configure Shelby Center
> You can find the rest of the steps to complete your install at
> HowToConfigureShelbyCenter (below).
> --------------------------------------------
> HowToConfigureShelbyCenter:
> --------------------------------------------
> Step 1 - Enter in your database information
> Open your favorite text editor and open the file
> c:\websites\shelby_center\config\database-base.yml. Update the
> information under "production" and "development" and save the file as
> c:\websites\shelby_center\config\database.yml. It should look something
> like this:
> development:
> adapter: sqlserver
> database: ShelbyDB
> host: DatabaseServer
> username: ShelbyCenterLogin
> password: password
> port:
> production:
> adapter: sqlserver
> database: ShelbyDB
> host: DatabaseServer
> username: ShelbyCenterLogin
> password: password
> port:
> Step 2 - Apply Shelby Center Database Changes
> WARNING: YOU ARE ABOUT TO ALTER YOUR SHELBY DATABASE!! PLEASE MAKE SURE
> YOU HAVE A CURRENT BACUP. EVEN THOUGH WE HAVE TESTED THIS SEVERAL TIMES
> YOU NEVER KNOW WHAT MIGHT HAPPEN.
> Go to the command prompt, browse to c:\websites\shelby_center and type:
> rake environment RAILS_ENV=production migrate
> Step 3 - Restart Apache
--