Unverified Commit 339b239d by liberodark Committed by GitHub

Update install

parent 9be61ed6
...@@ -158,10 +158,9 @@ ynh_print_info "Compile Redmine..." ...@@ -158,10 +158,9 @@ ynh_print_info "Compile Redmine..."
pushd $final_path pushd $final_path
bundle install --without development test rmagick bundle install --without development test rmagick
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" "$final_path/config/application.yml" RAILS_ENV=production bin/rake secret
#RAILS_ENV=production bin/rake db:create #ynh_replace_string "__SECRET_KEY_HERE__" "$key" "$final_path/config/application.yml"
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