From 9be61ed620f5a1d5be4ae877719fe325e83bf5e6 Mon Sep 17 00:00:00 2001 From: liberodark Date: Thu, 21 Mar 2019 13:14:59 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7d53b3a..40db383 100644 --- a/scripts/install +++ b/scripts/install @@ -160,7 +160,7 @@ 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" "/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:migrate popd