aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormagikcypress <cyp@rouquin.me>2017-04-15 01:56:09 +0200
committermagikcypress <cyp@rouquin.me>2017-04-15 01:56:09 +0200
commit4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d (patch)
treea1115d71b9816f1f7e7341536d42585753bf2a71 /scripts
parent4045dfd749e1ff7ed83cccff1a03d9937601cdd8 (diff)
downloadmastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.tar.gz
mastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.tar.bz2
mastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.zip
[fix] Update crontab
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/install b/scripts/install
index 1c964b7..75c2cfd 100644
--- a/scripts/install
+++ b/scripts/install
@@ -154,23 +154,12 @@ RAILS_ENV=production bin/bundle exec rails db:setup
RAILS_ENV=production bin/bundle exec rails --trace assets:precompile
CCOMMANDS
-# TODO: Doesn't work for the moment,
-# Mastodon need a user for creating an administator account
-# Create admin user
-# Create confirm email
-sudo su - $app <<ACOMMANDS
-pushd ~/live
-# RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=$admin_mastodon
-# RAILS_ENV=production bin/bundle exec rails mastodon:confirm_email USER_EMAIL=$admin_mastodon@$domain
-ACOMMANDS
-
# init rbenv & create bundle
sudo su - $app <<BCOMMANDS
. ~/.profile
type rbenv
BCOMMANDS
-
# Add Services
pushd $(popd)