From 8bd3461ca57f034a24d836aab8ebb0d571b340bc Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Wed, 19 Jul 2023 23:37:00 +0200 Subject: [PATCH] cleaning --- doc/PRE_INSTALL.md | 8 +++----- doc/PRE_INSTALL_fr.md | 8 +++----- scripts/install | 1 - 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/doc/PRE_INSTALL.md b/doc/PRE_INSTALL.md index 55306cb..cc1b424 100644 --- a/doc/PRE_INSTALL.md +++ b/doc/PRE_INSTALL.md @@ -1,10 +1,8 @@ ## Important points to read before installing -1. **Mastodon** require a dedicated **root domain**, eg. `domaine.tld` or `mastodon.domain.tld`, with no other apps installed on that domain -2. You can't change the domain once installed. -3. The user choosen during the installation is automatically created in Mastodon with admin rights -4. At the end of the installation a mail is sent to the user with the automatically generated password -5. It seems important to close the inscriptions for your Mastodon, so that it remains a private body. We invite you to block remote malicious instances from the administration interface. You can also add text on your home page. +- **Mastodon** require a dedicated **root domain**, eg. `domaine.tld` or `mastodon.domain.tld`, with no other apps installed on that domain. You can't change the domain once installed. +- The user choosen during the installation is automatically created in Mastodon with admin rights +- It seems important to close the inscriptions for your Mastodon, so that it remains a private body. We invite you to block remote malicious instances from the administration interface. You can also add text on your home page. ## Using *screen* in case of disconnect diff --git a/doc/PRE_INSTALL_fr.md b/doc/PRE_INSTALL_fr.md index 60dac37..3569013 100644 --- a/doc/PRE_INSTALL_fr.md +++ b/doc/PRE_INSTALL_fr.md @@ -1,10 +1,8 @@ ## Points importants à lire avant l'installation -1. **Mastodon** nécessite un **nom de domaine** dédié, par exemple : `domaine.tld` ou `mastodon.domaine.tld` sans apps installées sur ce domaine -2. Il est impossible de changer le nom de domaine après l'installation. -3. L'utilisateur sélectionné pendant l'installation sera créé automatiquement dans Mastodon avec des droits d'administration. -4. À la fin de l'installation, un mail est envoyé à cet utilisateur avec un mot de passe généré automatiquement. -5. Pour que votre instance Mastodon reste privée, il est important de fermer les inscriptions. Nous vous invitons à bloquer les instances distantes indésirables depuis l'interface d'administration. Vous pouvez également ajouter un texte sur votre page d'accueil dans l'administration. +- **Mastodon** nécessite un **nom de domaine** dédié, par exemple : `domaine.tld` ou `mastodon.domaine.tld` sans apps installées sur ce domaine. Il est impossible de changer le nom de domaine après l'installation. +- L'utilisateur sélectionné pendant l'installation sera créé automatiquement dans Mastodon avec des droits d'administration. +- Pour que votre instance Mastodon reste privée, il est important de fermer les inscriptions. Nous vous invitons à bloquer les instances indésirables depuis l'interface d'administration. Vous pouvez également ajouter un texte sur votre page d'accueil dans l'administration. ## Utilisation de *screen* en cas de déconnexion diff --git a/scripts/install b/scripts/install index aa88aa7..05dc9e2 100644 --- a/scripts/install +++ b/scripts/install @@ -107,7 +107,6 @@ pushd "$install_dir/live" ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rake mastodon:webpush:generate_vapid_key > key.txt # Create the first admin user ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=Owner > /dev/null - ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts modify "$admin" --approve popd # Re-generate config with vapid keys