Unverified Commit 9be61ed6 by liberodark Committed by GitHub

Update install

parent 3ea8c877
...@@ -160,7 +160,7 @@ pushd $final_path ...@@ -160,7 +160,7 @@ pushd $final_path
bundle install --without development test rmagick bundle install --without development test rmagick
mv config/application.example.yml config/application.yml mv config/application.example.yml config/application.yml
key=$(RAILS_ENV=production bin/rake secret) key=$(RAILS_ENV=production bin/rake secret)
ynh_replace_string "__SECRET_KEY_HERE__" "$key" "/opt/pia-back/config/application.yml" ynh_replace_string "__SECRET_KEY_HERE__" "$key" "$final_path/config/application.yml"
#RAILS_ENV=production bin/rake db:create #RAILS_ENV=production bin/rake db:create
RAILS_ENV=production bin/rake db:migrate RAILS_ENV=production bin/rake db:migrate
popd popd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment