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

Merge pull request #30 from oufmilo/testing

This commit is contained in:
oufmilo 2023-04-08 23:30:02 +02:00 committed by GitHub
commit 30034b52f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 15 deletions

View file

@ -10,7 +10,7 @@
# automatic actions when a new upstream release is detected. # automatic actions when a new upstream release is detected.
# Remove this exit command when you are ready to run this Action # Remove this exit command when you are ready to run this Action
#exit 1 exit 1
#================================================= #=================================================
# FETCHING LATEST RELEASE AND ITS ASSETS # FETCHING LATEST RELEASE AND ITS ASSETS

View file

@ -1,5 +0,0 @@
SOURCE_URL=https://codeberg.org/calckey/calckey/archive/v13.1.2.tar.gz
SOURCE_SUM=1CA6ACE1BAC1F9BFBA70FC55F828F8C6F3BCC042003A6FE8D9FB16DF0AD678EB
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -5,7 +5,7 @@ name = "Calckey"
description.en = "Fork of Misskey with better UI/UX, security, features" description.en = "Fork of Misskey with better UI/UX, security, features"
description.fr = "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités" description.fr = "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités"
version = "13.1.2~ynh1" version = "13.1.4.1~ynh1"
maintainers = ["oufmilo"] maintainers = ["oufmilo"]
@ -16,14 +16,14 @@ demo = "https://i.calckey.cloud/"
code = "https://codeberg.org/calckey/calckey" code = "https://codeberg.org/calckey/calckey"
[integration] [integration]
yunohost = ">= 11.0.0" yunohost = ">= 11.1.14"
architectures = "all" architectures = "all"
multi_instance = false multi_instance = false
ldap = "not_relevant" ldap = "not_relevant"
sso = "not_relevant" sso = "not_relevant"
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "2G"
ram.runtime = "50M" ram.runtime = "2G"
[install] [install]
[install.domain] [install.domain]
@ -38,6 +38,11 @@ ram.runtime = "50M"
default = "visitors" default = "visitors"
[resources] [resources]
[resources.sources.main]
url = "https://codeberg.org/calckey/calckey/archive/v13.1.4.1.tar.gz"
sha256 = "5bd66e8ade6abaf205da6c4ad9a9389719c09ce0bbf672389e1b84af48afcbbc"
[resources.system_user] [resources.system_user]
[resources.install_dir] [resources.install_dir]

View file

@ -8,9 +8,6 @@
NODEJS_VERSION="19" NODEJS_VERSION="19"
# dependencies used by the app
pkg_dependencies="ffmpeg postgresql build-essential"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================

View file

@ -70,9 +70,9 @@ pushd "$install_dir"
ynh_use_nodejs ynh_use_nodejs
corepack enable corepack enable
corepack prepare pnpm@latest --activate corepack prepare pnpm@latest --activate
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 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 NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init
popd popd
#================================================= #=================================================