aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranmol26s <github@datamol.org>2018-12-26 08:33:06 +0530
committeranmol26s <github@datamol.org>2018-12-26 08:33:06 +0530
commit1e84113155d04284eef0a5feb4d0c840c2ce639b (patch)
tree881140f0942cb01d2f4426f560643fa9933068f9
parent925cc8205045bb6ceebcaa7bd385a43be63b541e (diff)
downloadmastodon_ynh-1e84113155d04284eef0a5feb4d0c840c2ce639b.tar.gz
mastodon_ynh-1e84113155d04284eef0a5feb4d0c840c2ce639b.tar.bz2
mastodon_ynh-1e84113155d04284eef0a5feb4d0c840c2ce639b.zip
Fix:command to make user admin
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index 7b3e789..01f74d2 100644
--- a/scripts/install
+++ b/scripts/install
@@ -212,7 +212,7 @@ ynh_replace_string "#SMTP_OPENSSL_VERIFY_MODE=peer" "SMTP_OPENSSL_V
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
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
)