-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
57 lines (36 loc) · 1.36 KB
/
README
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
48
49
50
51
52
53
54
55
56
57
A static website for Bliss Run Mindfulness Community in Columbus, OH.
New: November 2013
Basics to get working on old rails 2
rvm rubygems latest-1.8
bundle install
Update config/environment.rb RAILS_GEM_VERSION = '2.3.10'
----
Development:
Application was written in Rails. Sinatra would have been fine, but
the hosting company didn't support Rack, everything is fcgi and it was
a pain to get Sinatra working in that environment. Frankly, rails
wasn't much better with the hosting company.
Application setup:
Install rails on system
Freeze it:
rake rails:freeze:edge RELEASE=2.3.5
Update it:
rake rails:unfreeze
rake rails:freeze:edge RELEASE=2.3.8
Update config/environment.rb RAILS_GEM_VERSION = '2.3.10'
Install necessary plugins:
script/plugin -v install git://github.com/nex3/haml.git -r tags/3.0.18
script/plugin install git://github.com/ambethia/recaptcha.git
Hosting setup:
Add symlink from public_html to rails/public directory:
~/public_html/blissrun -> ../etc/rails_apps/blissrun/public/
Files below MUST be added to the public directory. Content is in
support database or see github:
644 .htaccess
755 dispatch.cgi
755 dispatch.fcgi
755 dispatch.rb
At this point you should be able to visit web site and see the Rails
environment file.
beta.blissrun.org is a sub-domain for testing. Usually off.
Install git on hosting as they don't have it.