mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Add line to install script that generates required ACTIVE_RECORD_ENCRYPTION keys in the environment variables file
This commit is contained in:
parent
bf4f7ffd7c
commit
9ac792633e
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ pushd "$install_dir/live"
|
|||
# This export might be removed in yunohost 12
|
||||
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install
|
||||
echo "SAFETY_ASSURED=1">> "$config"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails db:encryption:init --quiet
|
||||
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails db:migrate --quiet
|
||||
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails assets:precompile --quiet
|
||||
# Generate vapid keys
|
||||
|
|
Loading…
Add table
Reference in a new issue