aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-06-13 11:30:51 +0200
committernemsia <nemsia@nemsia.org>2018-06-13 11:30:51 +0200
commit8e1d57d0dd69faa66280f3a7ba2ed93d7dee00db (patch)
tree118a672da1781afb4d0513f63d3701f03905845c
parentae84054e6af9d9650a6d3a3cdd977665b33e29d3 (diff)
downloadmastodon_ynh-8e1d57d0dd69faa66280f3a7ba2ed93d7dee00db.tar.gz
mastodon_ynh-8e1d57d0dd69faa66280f3a7ba2ed93d7dee00db.tar.bz2
mastodon_ynh-8e1d57d0dd69faa66280f3a7ba2ed93d7dee00db.zip
db:migrate on install
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index 90a8dfc..22abeff 100644
--- a/scripts/install
+++ b/scripts/install
@@ -222,7 +222,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:setup --quiet
+ RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet
RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet
INSTALL
)