forked from VirtualFlyBrain/BrainTrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallnotes.txt
47 lines (33 loc) · 1.24 KB
/
installnotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#Actions required for installation
-- JRuby Version 1.1.4 or greater
-- Rails Version 2.1.0 or greater
-- Set PostgreSQL details in database.yml
gem install activerecord-jdbcpostgresql-adapter
#Also this if you get irritating messages
gem install jruby-openssl
-- Set site-images directory in environment.rb (DATA_IMAGE_FOLDER = 'http://localhost/data/')
-- Set apache settings if necessary:
#Cmor
#This links apache to glassfish and adds the data directory
#This is the image data directory
Alias /data "C:/dev/site-images"
<Directory "C:/dev/site-images">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
#This links to the glassfish server
#AddModule mod_proxy.c
#Or with .so files:
LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost flyhome:80>
ServerName flyhome
ProxyPass /BrainTrap/ http://localhost:8080/BrainTrap/
ProxyPassReverse /BrainTrap/ http://localhost:8080/BrainTrap/
</VirtualHost>