Description:
update install.sh to work with latest ubuntu LTS
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r266:88b545da976a - - 1 file changed: 13 inserted, 0 deleted
@@ -127,6 +127,19 | |||
|
127 | 127 | echo "GRADER_ROOT_DIR = '$CAFE_PATH/judge'" >> config/initializers/cafe_grader_config.rb |
|
128 | 128 | echo "GRADING_RESULT_DIR = '$CAFE_PATH/judge/result'" >> config/initializers/cafe_grader_config.rb |
|
129 | 129 | |
|
130 | + # setup secret file | |
|
131 | + SECRET_A=`rake secret` | |
|
132 | + SECRET_B=`rake secret` | |
|
133 | + SECRET_C=`rake secret` | |
|
134 | + echo "development:" > config/secrets.yml | |
|
135 | + echo " secret_key_base: '$SECRET_A'" >> config/secrets.yml | |
|
136 | + echo "test:" >> config/secrets.yml | |
|
137 | + echo " secret_key_base: '$SECRET_B'" >> config/secrets.yml | |
|
138 | + echo "production:" >> config/secrets.yml | |
|
139 | + echo " secret_key_base: '$SECRET_C'" >> config/secrets.yml | |
|
140 | + | |
|
141 | + | |
|
142 | + | |
|
130 | 143 | echo "Installing required gems" |
|
131 | 144 | gem install bundler |
|
132 | 145 | bundle install |
You need to be logged in to leave comments.
Login now