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:
parent
fc458eb300
commit
c1ac899a6e
1 changed files with 0 additions and 20 deletions
|
@ -198,23 +198,3 @@ sudo yunohost app ssowatconf
|
||||||
|
|
||||||
# Reload Nginx
|
# Reload Nginx
|
||||||
sudo systemctl 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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue