Description:
added more instructions for installer
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r90:c62b55de9ac7 - - 1 file changed: 2 inserted, 1 deleted

@@ -112,30 +112,31
112 112 mkdir ev
113 113 mkdir result
114 114 mkdir log
115 115
116 116 echo "Configuring grader"
117 117
118 118 cp scripts/config/env_exam.rb.SAMPLE scripts/config/env_exam.rb
119 119 cp scripts/config/env_grading.rb.SAMPLE scripts/config/env_grading.rb
120 120
121 121 # create new environment.rb file
122 122 echo "RAILS_ROOT = '$CAFE_PATH/web'" > scripts/config/environment.rb
123 123 echo "GRADER_ROOT = '$CAFE_PATH/judge/scripts'" >> scripts/config/environment.rb
124 124 echo "require File.join(File.dirname(__FILE__),'../lib/boot')" >> scripts/config/environment.rb
125 125 echo "require File.dirname(__FILE__) + \"/env_#{GRADER_ENV}.rb\"" >> scripts/config/environment.rb
126 126
127 127 cd ..
128 128
129 129 echo "Installing web server mongrel"
130 130
131 131 sudo gem install mongrel --no-ri --no-rdoc
132 132
133 133 echo "Now you are ready to run cafe grader...."
134 134 echo
135 135 echo "Try:"
136 + echo
136 137 echo " cd web"
137 138 echo " ./script/server"
138 139 echo
139 140 echo "and access web at http://localhost:3000/"
141 + echo "The root username is 'root', its password is 'ioionrails'."
140 142
141 -
You need to be logged in to leave comments. Login now