1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calckey_ynh.git synced 2024-09-03 18:16:18 +02:00

Merge branch 'testing' into master

This commit is contained in:
lapineige 2023-02-04 08:58:49 +01:00 committed by GitHub
commit 815c85492b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 15 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Calckey for YunoHost
[![Integration level](https://dash.yunohost.org/integration/calckey.svg)](https://dash.yunohost.org/appci/app/calckey) ![Working status](https://ci-apps.yunohost.org/ci/badges/calckey.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/calckey.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/calckey.svg)](https://dash.yunohost.org/appci/app/calckey) ![Working status](https://ci-apps.yunohost.org/ci/badges/calckey.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/calckey.maintain.svg)
[![Install Calckey with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calckey)
*[Lire ce readme en français.](./README_fr.md)*

View file

@ -5,15 +5,15 @@ It shall NOT be edited by hand.
# Calckey pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/calckey.svg)](https://dash.yunohost.org/appci/app/calckey) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/calckey.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/calckey.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/calckey.svg)](https://dash.yunohost.org/appci/app/calckey) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/calckey.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/calckey.maintain.svg)
[![Installer Calckey avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calckey)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Calckey rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Calckey rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Un fork grandement amélioré de Misskey avec une meilleure UI/UX, sécurité, fonctionnalités, et plus encore ! https://i.calckey.cloud/
@ -26,9 +26,9 @@ Un fork grandement amélioré de Misskey avec une meilleure UI/UX, sécurité, f
**Démo :** https://i.calckey.cloud/
## Captures d'écran
## Captures décran
![Capture d'écran de Calckey](./doc/screenshots/screenshot-calckey.png)
![Capture décran de Calckey](./doc/screenshots/screenshot-calckey.png)
## Avertissements / informations importantes
@ -56,8 +56,8 @@ screen -r
## Documentations et ressources
* Site officiel de l'app : <https://i.calckey.cloud/>
* Dépôt de code officiel de l'app : <https://codeberg.org/calckey/calckey>
* Site officiel de lapp : <https://i.calckey.cloud/>
* Dépôt de code officiel de lapp : <https://codeberg.org/calckey/calckey>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_calckey>
* Signaler un bug : <https://github.com/YunoHost-Apps/calckey_ynh/issues>
@ -73,4 +73,4 @@ ou
sudo yunohost app upgrade calckey -u https://github.com/YunoHost-Apps/calckey_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -11,7 +11,8 @@
setup_private=1
setup_public=1
upgrade=1
# upgrade=1 from_commit=CommitHash
# v13.0.5
upgrade=1 from_commit=89f4f52e3cb3c9daf8eff43aab67bcda475da410
backup_restore=1
multi_instance=0
change_url=0

4
scripts/install Executable file → Normal file
View file

@ -134,9 +134,9 @@ pushd "$final_path"
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init
popd
#=================================================

7
scripts/restore Executable file → Normal file
View file

@ -74,7 +74,12 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
# enable pnpm again
#=================================================
# REINSTALL PNPM
#=================================================
ynh_script_progression --message="Reinstalling pnpm..." --weight=1
# Define and install pnpm
pushd "$final_path"
ynh_use_nodejs
corepack enable

View file

@ -120,7 +120,6 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
# NGINX CONFIGURATION