[Instantrails-users] Typo 2.5.6 Installed on InstantRails (quick step by step)

E Gard x2egard at yahoo.com
Sat Oct 15 14:53:57 EDT 2005


1) Unzip Typo 2.5.6 into the rails_apps folder.
2) Rails Applications --> Manage Rails Applications...
   (InstantRails application menu)
3) Check Typo-2.5.6 and click and configure SCGI
settings
4) Edit hosts and add: 127.0.0.1	typo
5) Edit httpd.conf (at the bottom of the file):

<VirtualHost *>
    ServerName typo
    # handle all requests through SCGI
    SCGIMount / 127.0.0.1:9999
    
    # (*** CHANGE #1 FOR TYPO ***)
    # Changed to Typo folder (typo-2.5.6)
    DocumentRoot ${path}/rails_apps/typo-2.5.6/public
    <Directory ${path}/rails_apps/typo-2.5.6/public>
        Options +FollowSymLinks
        Order allow,deny
        allow from all
    </Directory>
    AddDefaultCharset utf-8
    ErrorDocument 500 /500.html
    ErrorDocument 404 /404.html
    # matches locations with a dot following at least
one more characters,
    # that is, things like   *.html, *.css, *.js,
which should be delivered
    # directly from the filesystem. Also matches the
following
    # subdirectories: images, javascript(s),
stylesheets

    # (*** CHANGE #2 FOR TYPO ***)
    # For Typo, remove stylesheets in list below
    <LocationMatch
^/(images|javascript|javascripts|[^/]+\.[^/]+$)>
        # don't handle those with SCGI
        SCGIHandler Off
    </LocationMatch>

    # (*** CHANGE #3 FOR TYPO ***)
    # For Typo, removed
    #<LocationMatch "^/$">
    #    # don't handle just / with SCGI
    #    SCGIHandler Off
    #</LocationMatch>

</VirtualHost>

6) Use Configure -> Database (via PhpMyAdmin)
from the InstantRails menu.
Create the databases (typo, typo_dev, typo_test).
Use the db/schema.mysql.sql from typo to generate the
tables

7) Browser to http://typo

Ed





	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Instantrails-users mailing list