Project

General

Profile

Installing the Tapestry application » History » Version 1

Tom Clegg, 05/03/2011 12:55 PM

1 1 Tom Clegg
h1. Installing the mypg platform
2
3
Install ruby from http://www.rubyenterpriseedition.com/download.html
4
5
sudo gem install rails
6
7
sudo gem install passenger
8
9
sudo /usr/local/bin/passenger-install-apache2-module
10
11
Add stuff (as provided by passenger-install) to your conf.d/passenger.conf
12
13
<pre>
14
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
15
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
16
PassengerRuby /usr/local/bin/ruby
17
</pre>
18
19
Check out git repo
20
21
In git repo: sudo bundle install
22
23
Might need to: sudo apt-get install libxml2-dev libxslt-dev
24
25
Point a virtualhost to your git repo .../public
26
27
<pre>
28
<VirtualHost *:80>
29
   ServerName my.example.freelogy.org
30
   DocumentRoot /home/my.example.freelogy.org/public
31
   <Directory /home/my.example.freelogy.org/public>
32
         AllowOverride all
33
         Options -MultiViews
34
   </Directory>
35
</VirtualHost>
36
</pre>