Google Groups Home
Help | Sign in
Configuring Shelby_Center
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
jeremy.hoff@gmail.com  
View profile
 More options Dec 9 2006, 12:05 am
From: "jeremy.h...@gmail.com" <jeremy.h...@gmail.com>
Date: Fri, 08 Dec 2006 21:05:38 -0800
Local: Sat, Dec 9 2006 12:05 am
Subject: Configuring Shelby_Center
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Berg  
View profile
 More options Dec 9 2006, 11:35 pm
From: "Jeff Berg" <j...@ministrycentered.com>
Date: Sat, 9 Dec 2006 20:35:11 -0800
Local: Sat, Dec 9 2006 11:35 pm
Subject: Re: [ShelbyCenter] Configuring Shelby_Center

Good job you rock!!! Please let me know if you have any questions!!!

Jeff

On 12/8/06, jeremy.h...@gmail.com <jeremy.h...@gmail.com> wrote:

--
Jeff Berg
Owner/Developer
Ministry Centered Technologies

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google