aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-06-12 21:44:45 +0200
committernemsia <nemsia@nemsia.org>2018-06-12 21:44:45 +0200
commit1993c3b2eed04b3df8e518a5d5a2837997133949 (patch)
tree6121fde77e54b4998ddca67dc98c41bee21433f1 /scripts
parent7c2d4d49273ad4af01e9a666254561f269272bbd (diff)
downloadmastodon_ynh-1993c3b2eed04b3df8e518a5d5a2837997133949.tar.gz
mastodon_ynh-1993c3b2eed04b3df8e518a5d5a2837997133949.tar.bz2
mastodon_ynh-1993c3b2eed04b3df8e518a5d5a2837997133949.zip
db:Setup on install
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index cbce4e3..9e8a873 100644
--- a/scripts/install
+++ b/scripts/install
@@ -220,7 +220,7 @@ sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "${fin
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet
yarn install --production --no-progress --non-interactive --silent
echo "SAFETY_ASSURED=1">> .env.production
- RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet
+ RAILS_ENV=production $final_path/live/bin/bundle exec rails db:setup --quiet
RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet
INSTALL
)