-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.cies
58 lines (35 loc) · 1.49 KB
/
INSTALL.cies
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
INSTALLING
==========
This is how I, Cies Breijs, got the new-layout branch of Mostfit to install and run. I use RVM and gemsets to do so. This is not a copy-paste script for a clean install ubuntu -- merely a not to self for what was needed to do the trick on my machine.
git clone [email protected]:mostfit.git
git co new-layout
rvm use 1.8.7 # install it if you haven't got it already
rvm gemset create mostfit-new-layout
rvm 1.8.7@mostfit-new-layout
rvm rubygems 1.4.2
# found this in install instructions
gem install thor -v 0.9.9
gem install dm-observer -v 0.10.1
gem install uuid pdf-writer mongrel log4r
sudo apt-get install libmysqlclient16-dev mysql-server
thor merb:gem:redeploy
thor merb:gem:install
gem install uuid pdf-writer mongrel log4r i18n-translators-tools \
i18n-translators-tools google-spreadsheet-ruby i18n \
fastercsv rgettext roo
cp config/example.database.yml config/database.yml
vi config/database.yml
bin/merb
## SECOND ATTEMPT
I heard from Sid that I was doing it wrong, so here my second attempt.
git clone [email protected]:mostfit.git
git co new-layout
rvm use 1.8.7 # install it if you haven't got it already
rvm gemset create mostfit-new-layout
rvm 1.8.7@mostfit-new-layout
rvm rubygems 1.4.2
(cd gems/cache; gem install --local * --no-ri --no-rdoc)
# got errors: pdf-writer wants color, and roo wants spreadsheet, google-spreadsheet-ruby wants hpricot
cp config/example.database.yml config/database.yml
vi config/database.yml
bin/merb