1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Remove Create User

This commit is contained in:
nemsia 2017-04-20 12:01:05 +02:00 committed by GitHub
parent fc458eb300
commit c1ac899a6e

View file

@ -198,23 +198,3 @@ sudo yunohost app ssowatconf
# Reload Nginx
sudo systemctl reload nginx
# all services start, please
sleep 30
# Mastodon need a user for creating an administator account
# rake create user is not up for the moment
# See PR: https://github.com/tootsuite/mastodon/pull/1482
CREATE_USER
# 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
# Restart crontab
sudo systemctl restart cron