Description:
updated install script
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r88:692a33c93a20 - - 1 file changed: 3 inserted, 1 deleted
@@ -4,6 +4,7 | |||||
|
4 |
|
4 | ||
|
5 | echo "Installing required apt" |
|
5 | echo "Installing required apt" |
|
6 |
|
6 | ||
|
|
7 | + sudo apt-get update | ||
|
7 | sudo apt-get install mysql-server mysql-client ruby1.8 ruby1.8-dev rdoc1.8 \ |
|
8 | sudo apt-get install mysql-server mysql-client ruby1.8 ruby1.8-dev rdoc1.8 \ |
|
8 | g++ gcc libmysql-ruby1.8 irb apache2 libmysqlclient15-dev build-essential \ |
|
9 | g++ gcc libmysql-ruby1.8 irb apache2 libmysqlclient15-dev build-essential \ |
|
9 | git-core rubygems rake openssl libopenssl-ruby |
|
10 | git-core rubygems rake openssl libopenssl-ruby |
@@ -11,6 +12,7 | |||||
|
11 | echo "Installing rails" |
|
12 | echo "Installing rails" |
|
12 |
|
13 | ||
|
13 | sudo gem install rails --no-ri --no-rdoc |
|
14 | sudo gem install rails --no-ri --no-rdoc |
|
|
15 | + sudo gem install rack -v=1.0.1 --no-ri --no-rdoc | ||
|
14 |
|
16 | ||
|
15 | echo "Fetching Cafe Grader from Git repositories" |
|
17 | echo "Fetching Cafe Grader from Git repositories" |
|
16 |
|
18 | ||
@@ -31,7 +33,7 | |||||
|
31 | if [ "$ch" = "n" -o "$ch" = "N" ] |
|
33 | if [ "$ch" = "n" -o "$ch" = "N" ] |
|
32 | then |
|
34 | then |
|
33 | echo "Please open another terminal and create the user and database for Cafe grader." |
|
35 | echo "Please open another terminal and create the user and database for Cafe grader." |
|
34 |
- echo "Don't forget to grant access to that database f |
|
36 | + echo "Don't forget to grant access to that database for the user." |
|
35 | echo "Please have username, password, and database name ready before continue." |
|
37 | echo "Please have username, password, and database name ready before continue." |
|
36 | echo "Hit enter when ready..." |
|
38 | echo "Hit enter when ready..." |
|
37 | read dummy |
|
39 | read dummy |
You need to be logged in to leave comments.
Login now