aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-10-25 21:22:35 +0200
committerGitHub <noreply@github.com>2017-10-25 21:22:35 +0200
commit4e837438452f708a4d7c326d9350bdfe13a074cd (patch)
treeab73196ddb36f93871422fb62ee11dc37979d75d
parent785edef7e416ecfbe844fc08597e20139d1fc260 (diff)
downloadmastodon_ynh-4e837438452f708a4d7c326d9350bdfe13a074cd.tar.gz
mastodon_ynh-4e837438452f708a4d7c326d9350bdfe13a074cd.tar.bz2
mastodon_ynh-4e837438452f708a4d7c326d9350bdfe13a074cd.zip
Fix install on v2
add "SAFETY_ASSURED=1" on .env.production
-rw-r--r--scripts/install1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index 7be59db..f3ac754 100644
--- a/scripts/install
+++ b/scripts/install
@@ -168,6 +168,7 @@ sudo sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "
# Preconfig CSS & JS
sudo su - $app <<CCOMMANDS
pushd ~/live
+echo "SAFETY_ASSURED=1">> .env.production
RAILS_ENV=production bin/bundle exec rails db:setup
RAILS_ENV=production bin/bundle exec rails --trace assets:precompile
CCOMMANDS