File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ bundle install --jobs 4 --retry 3
99echo " Clearing logs"
1010bin/rake log:clear
1111
12+ production=" production"
13+
14+ if [ " $RAILS_ENV " == " $production " ]
15+ then
16+ bin/rails assets:precompile
17+ fi
18+
1219echo " Setting up new db if one doesn't exist"
1320bundle exec rake db:migrate
1421
@@ -21,4 +28,4 @@ rm -f tmp/pids/server.pid
2128
2229
2330echo " Starting app server"
24- bundle exec rails s -p 8081 -b 0.0.0.0
31+ bundle exec rails s -p 8081 -b 0.0.0.0
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ development:
1010 pool : 5
1111 username : " <%=ENV['DEVELOPMENT_MYSQL_DB_USERNAME'] % >"
1212 password : " <%=ENV['DEVELOPMENT_MYSQL_DB_PASSWORD'] % >"
13- # host: db
13+ host : db
1414
1515
1616# Warning: The database defined as "test" will be erased and
Original file line number Diff line number Diff line change 1717 # Attempt to read encrypted secrets from `config/secrets.yml.enc`.
1818 # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or
1919 # `config/secrets.yml.key`.
20- config . read_encrypted_secrets = true
20+ config . read_encrypted_secrets = false
2121
2222 # Disable serving static files from the `/public` folder by default since
2323 # Apache or NGINX already handles this.
Original file line number Diff line number Diff line change 11version : " 3"
22services :
33 db :
4- image : mysql
4+ image : mysql:5.7
55 environment :
66 MYSQL_ROOT_PASSWORD : dbpassword_for_user
77 MYSQL_DATABASE : eval_server_development
@@ -20,4 +20,4 @@ services:
2020 - db
2121volumes :
2222 bundle :
23- driver : local
23+ driver : local
You can’t perform that action at this time.
0 commit comments