mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
commit
80379397f1
11 changed files with 26 additions and 13 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms.
|
||||
|
||||
|
||||
**Shipped version:** 12.110.0~ynh3
|
||||
**Shipped version:** 12.110.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Misskey est une plateforme de microblogging décentralisée. Puisqu'il existe au sein du Fediverse (un univers où diverses plateformes de médias sociaux sont organisées), il est mutuellement lié à d'autres plateformes de médias sociaux.
|
||||
|
||||
**Version incluse :** 12.110.0~ynh3
|
||||
**Version incluse :** 12.110.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/12.110.0.tar.gz
|
||||
SOURCE_SUM=FDEC5E47B0A7BB9711D3414712FC47A38E45B2EDD54881344AEC710AB8658CE8
|
||||
SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/12.110.1.tar.gz
|
||||
SOURCE_SUM=AA6465EA1135EBA876043125B7C1636FB0B29419A35528D588703A798F80807D
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -138,7 +138,7 @@ id: 'aid'
|
|||
#proxyRemoteFiles: true
|
||||
|
||||
# Sign to ActivityPub GET request (default: false)
|
||||
#signToActivityPubGet: true
|
||||
signToActivityPubGet: true
|
||||
|
||||
#allowedPrivateNetworks: [
|
||||
# '127.0.0.1/32'
|
||||
|
|
|
@ -17,7 +17,8 @@ location / {
|
|||
proxy_cache_lock on;
|
||||
proxy_cache_use_stale updating;
|
||||
more_set_headers "X-Cache: $upstream_cache_status";
|
||||
|
||||
# Change to upload limit
|
||||
client_max_body_size 80m;
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Microblogging platform",
|
||||
"fr": "Platforme de Microblogging"
|
||||
},
|
||||
"version": "12.110.0~ynh3",
|
||||
"version": "12.110.1~ynh1",
|
||||
"url": "https://misskey-hub.net/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0",
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -67,6 +67,7 @@ if ynh_legacy_permissions_exists; then
|
|||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue