diff --git a/README.md b/README.md index bd98633..0363eb4 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,11 @@ Misskey is a decentralized microblogging platform. Since it exists within the Fe ### Important points to read before installing -- *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- *Misskey* requires a dedicated root domain, e.g. `misskey.domain.tld` +- Due to Cypress dependency, *Misskey* only works on 64-bit CPU machines. - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. -- If installing from command line use of screen is rerecorded to avoid disconnection. See below. -- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. +- If installing from command line, using `screen` is recommended to avoid disconnection. See below. +- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh the page after 2 or 3 minutes. - The first account created will be an admin user and will have all the admin rights. Using screen in case of disconnects diff --git a/README_fr.md b/README_fr.md index 947addd..c4edd9f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,6 +26,7 @@ Misskey est une plateforme de microblogging décentralisée. Puisqu'il existe au ### Points importants à lire avant l'installation - *Misskey* nécessite un domaine racine dédié, par ex. `misskey.domain.tld` +- En raison de la dépendance de Cypress, *Misskey* ne fonctionne que sur les machines à processeur 64 bits. - *Misskey* peut prendre un certain temps à installer (plus de 30 minutes). Alors prenez un peu de temps et prenez un café. - Si l'installation à partir de la ligne de commande, l'utilisation de l'écran est réenregistrée pour éviter la déconnexion. Voir ci-dessous. - Après l'installation, la première page peut prendre du temps à charger et peut afficher une erreur de délai d'attente. Donnez-lui le temps de se préparer pour vous. Actualiser la page après 2-3 minutes. diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 2f4c44a..5b51b53 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,9 +1,10 @@ ### Important points to read before installing -- *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- *Misskey* requires a dedicated root domain, e.g. `misskey.domain.tld` +- Due to Cypress dependency, *Misskey* only works on 64-bit CPU machines. - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. -- If installing from command line use of screen is rerecorded to avoid disconnection. See below. -- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. +- If installing from command line, using `screen` is recommended to avoid disconnection. See below. +- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh the page after 2 or 3 minutes. - The first account created will be an admin user and will have all the admin rights. Using screen in case of disconnects diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 60503e7..a3ae654 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,6 +1,7 @@ ### Points importants à lire avant l'installation - *Misskey* nécessite un domaine racine dédié, par ex. `misskey.domain.tld` +- En raison de la dépendance de Cypress, *Misskey* ne fonctionne que sur les machines à processeur 64 bits. - *Misskey* peut prendre un certain temps à installer (plus de 30 minutes). Alors prenez un peu de temps et prenez un café. - Si l'installation à partir de la ligne de commande, l'utilisation de l'écran est réenregistrée pour éviter la déconnexion. Voir ci-dessous. - Après l'installation, la première page peut prendre du temps à charger et peut afficher une erreur de délai d'attente. Donnez-lui le temps de se préparer pour vous. Actualiser la page après 2-3 minutes. diff --git a/scripts/install b/scripts/install index 6b2e860..eedcf6a 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,12 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 +# Check machine architecture (in particular, we don't support ARM and 32bit machines) +if [ $YNH_ARCH != "amd64" ] && [ $YNH_ARCH != "aarch64" ] && [ $YNH_ARCH != "arm64" ] +then + ynh_die --message="Sorry, but this app can only be installed on a 64 bits machine :(" +fi + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" diff --git a/scripts/remove b/scripts/remove index 0da75b1..b21bea2 100755 --- a/scripts/remove +++ b/scripts/remove @@ -21,6 +21,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) +redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) #================================================= # STANDARD REMOVE