fix: massive output from db creation

This commit is contained in:
Roxie Gibson 2021-05-10 14:52:24 +01:00
parent e23f0f9752
commit 8ea6d53c10
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D

View File

@ -1,5 +1,5 @@
# shellcheck disable=SC2148 # shellcheck disable=SC2148
MASTO_APP_DIR="mastodon/public" #MASTO_APP_DIR="mastodon/public"
sub_rake() { sub_rake() {
# shellcheck disable=SC2034 # shellcheck disable=SC2034
@ -17,7 +17,9 @@ sub_tootctl() {
sub_setup() { sub_setup() {
info "Setting up mastodon database" info "Setting up mastodon database"
silence
sub_rake "db:setup" sub_rake "db:setup"
unsilence
success "Mastodon's database is now up! 'web' and 'sidekiq' services should now stop failing." success "Mastodon's database is now up! 'web' and 'sidekiq' services should now stop failing."
echo "Do you want to create an admin user? (Extremely recommended!)" echo "Do you want to create an admin user? (Extremely recommended!)"
prompt_confirm prompt_confirm