From 3d3913686526f4495cca6c0234ea06faf46b1bfe Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 7 May 2017 23:22:41 +0200 Subject: Sync (#11) * [enh] Switch to tagged release * [enh] Switch to tagged release on upgrade * [fix] Restore pg dump Restore pg dump with mastodon user. * Change version on manifest * [fix] Change rm dump to ynh_secure_remove * [fix] Upgrade from 1.3.3 Fix error: Your local changes to the following files would be overwritten by merge: .babelrc .dockerignore .editorconfig .env.production.sample .gitignore .rubocop.yml .travis.yml Capfile Dockerfile README.md Vagrantfile .... * [fix] Owner of live * [fix] Reinstall dependencies on restore * Return to home * [fix] Jenkins upgrade error * Check .fonctions * Remove unneeded comment * Add apt lists to backup * Change .list name on backup * Copy Apt .lists on restore * version 1.3.3 on manifest * Remove admin instructions + TODO --- README.md | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1b295c4..2b4d9ea 100644 --- a/README.md +++ b/README.md @@ -21,19 +21,21 @@ Mastodon est un réseau social gratuit et open source. Une alternative décentra `$ sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh.git` -Une fois l'installation effectuée, vous pouvez créer un compte manuellement sur Mastodon depuis votre navigateur. Lorsque vous avez crée le premier utilisateur vous pouvez créer l'administrateur de votre Mastodon. Pour celà, il faut impérativement passer par une interface en ligne de commande et taper les commandes suivantes : +L'utilisateur admin est crée automatiquement comme: user@domain.tld -**se connecter en sudo sur l'utilisateur** +Une fois l'installation effectuée, vous pouvez créer un compte manuellement sur Mastodon depuis votre navigateur. Lorsque vous avez crée le premier utilisateur vous pouvez créer l'administrateur de votre Mastodon. Pour celà, il faut impérativement passer par une interface en ligne de commande et taper les commandes suivantes : -`$ sudo su mastodon` +**se connecter en sudo sur l'utilisateur** -**se placer dans le répertoire où est installé Mastodon** +`$ sudo su mastodon` -`$ cd /opt/mastodon/live` +**se placer dans le répertoire où est installé Mastodon** -**lancer la commande de création de l'administrateur** +`$ cd /opt/mastodon/live` -`$ RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=*Nom de votre utilisateur*` +**lancer la commande de création de l'administrateur** + +`$ RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=*Nom de votre utilisateur*` ### Mise à jour @@ -55,19 +57,21 @@ Mastodon is a free, open-source social network. A decentralized alternative to c `$ sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh.git` -After installation, you can create an account manually on Mastodon from your browser. When you have created the first user you can create the administrator of your Mastodon. For this, it is imperative to go through a command line and type the following commands: +The admin user is automatically created as: user@domain.tld + +After installation, you can create an account manually on Mastodon from your browser. When you have created the first user you can create the administrator of your Mastodon. For this, it is imperative to go through a command line and type the following commands: -**sudo to the user** +**sudo to the user** -`$ sudo su mastodon` +`$ sudo su mastodon` -**change directory where Mastodon is installed** +**change directory where Mastodon is installed** -`$ cd /opt/mastodon/live` +`$ cd /opt/mastodon/live` -**launch the command to create the administrator** +**launch the command to create the administrator** -`$ RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=*username*` +`$ RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=*username*` ### Update @@ -83,5 +87,7 @@ It seems important to close the inscriptions for your Mastodon, so that it remai - [x] Fix upgrade - [x] [Create automatic user](https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md#creating-users-while-registration-is-closed) -- [ ] Fix restore -- [ ] Install from a release \ No newline at end of file +- [x] Fix restore +- [x] Install from a release +- [ ] Tune [Create automatic user](https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md#creating-users-while-registration-is-closed) +- [ ] Fix errors on jenkins -- cgit v1.2.3-70-g09d2