Project

General

Profile

Actions

Installing the Tapestry application » History » Revision 1

Revision 1/47 | Next »
Tom Clegg, 05/03/2011 12:55 PM


Installing the mypg platform

Install ruby from http://www.rubyenterpriseedition.com/download.html

sudo gem install rails

sudo gem install passenger

sudo /usr/local/bin/passenger-install-apache2-module

Add stuff (as provided by passenger-install) to your conf.d/passenger.conf

LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/local/bin/ruby

Check out git repo

In git repo: sudo bundle install

Might need to: sudo apt-get install libxml2-dev libxslt-dev

Point a virtualhost to your git repo .../public

<VirtualHost *:80>
   ServerName my.example.freelogy.org
   DocumentRoot /home/my.example.freelogy.org/public
   <Directory /home/my.example.freelogy.org/public>
         AllowOverride all
         Options -MultiViews
   </Directory>
</VirtualHost>

Updated by Tom Clegg over 13 years ago · 47 revisions