mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix install on v2
add "SAFETY_ASSURED=1" on .env.production
This commit is contained in:
parent
785edef7e4
commit
4e83743845
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ sudo sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "
|
||||||
# Preconfig CSS & JS
|
# Preconfig CSS & JS
|
||||||
sudo su - $app <<CCOMMANDS
|
sudo su - $app <<CCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
|
echo "SAFETY_ASSURED=1">> .env.production
|
||||||
RAILS_ENV=production bin/bundle exec rails db:setup
|
RAILS_ENV=production bin/bundle exec rails db:setup
|
||||||
RAILS_ENV=production bin/bundle exec rails --trace assets:precompile
|
RAILS_ENV=production bin/bundle exec rails --trace assets:precompile
|
||||||
CCOMMANDS
|
CCOMMANDS
|
||||||
|
|
Loading…
Add table
Reference in a new issue