Description:
update install script
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r259:a3f8d0c6c6af - - 1 file changed: 3 inserted, 5 deleted
@@ -10,7 +10,6 | |||
|
10 | 10 | echo "Installing Ruby $RUBY_VERSION in RVM" |
|
11 | 11 | |
|
12 | 12 | rvm install $RUBY_VERSION |
|
13 | - | |
|
14 | 13 | rvm use $RUBY_VERSION@$RUBY_GEMSET |
|
15 | 14 | |
|
16 | 15 | echo "Fetching Cafe Grader from Git repositories" |
@@ -66,10 +65,6 | |||
|
66 | 65 | read dummy |
|
67 | 66 | fi |
|
68 | 67 | |
|
69 | - CAFE_PATH=`pwd` | |
|
70 | - | |
|
71 | - cd web | |
|
72 | - | |
|
73 | 68 | echo "Please provide grader database:" |
|
74 | 69 | read database |
|
75 | 70 | |
@@ -79,6 +74,9 | |||
|
79 | 74 | echo "Please provide $username password:" |
|
80 | 75 | read password |
|
81 | 76 | |
|
77 | + CAFE_PATH=`pwd` | |
|
78 | + cd web | |
|
79 | + | |
|
82 | 80 | echo "development:" > config/database.yml |
|
83 | 81 | echo " adapter: mysql2" >> config/database.yml |
|
84 | 82 | echo " encoding: utf8" >> config/database.yml |
You need to be logged in to leave comments.
Login now