1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

Update install

This commit is contained in:
liberodark 2019-03-21 13:24:40 +01:00 committed by GitHub
parent 9be61ed620
commit 339b239d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,10 +158,9 @@ ynh_print_info "Compile Redmine..."
pushd $final_path
bundle install --without development test rmagick
mv config/application.example.yml config/application.yml
key=$(RAILS_ENV=production bin/rake secret)
ynh_replace_string "__SECRET_KEY_HERE__" "$key" "$final_path/config/application.yml"
#RAILS_ENV=production bin/rake db:create
RAILS_ENV=production bin/rake secret
#ynh_replace_string "__SECRET_KEY_HERE__" "$key" "$final_path/config/application.yml"
RAILS_ENV=production bin/rake db:migrate
popd