mirror of
https://github.com/YunoHost-Apps/calckey_ynh.git
synced 2024-09-03 18:16:18 +02:00
commit
2efaee74e0
5 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://codeberg.org/calckey/calckey/archive/v13.1.1.tar.gz
|
||||
SOURCE_SUM=934d839d7c5af858f064481da2060ef1875839a6a13e0fa8043651f48b5bc175
|
||||
SOURCE_SUM=934d839d7c5af858f064481da2060ef1875839a6a13e0fa8043651f48b5bc175
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Fork of Misskey with better UI/UX, security, features",
|
||||
"fr": "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités"
|
||||
},
|
||||
"version": "13.0.5~ynh1",
|
||||
"version": "13.1.1~ynh1",
|
||||
"url": "https://i.calckey.cloud/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0",
|
||||
|
|
8
scripts/install
Executable file → Normal file
8
scripts/install
Executable file → Normal file
|
@ -68,7 +68,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=3
|
||||
ynh_script_progression --message="Installing dependencies... This might take some time." --weight=3
|
||||
|
||||
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||
|
||||
|
@ -128,14 +128,14 @@ ynh_add_config --template="../conf/default.yml" --destination="$final_path/.conf
|
|||
#=================================================
|
||||
# BUILD APP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building app..." --weight=20
|
||||
ynh_script_progression --message="Building app... This will take some time." --weight=15
|
||||
|
||||
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 NODE_ENV=production pnpm i
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build
|
||||
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 NODE_ENV=production pnpm run init
|
||||
popd
|
||||
|
||||
|
|
1
scripts/restore
Executable file → Normal file
1
scripts/restore
Executable file → Normal file
|
@ -85,6 +85,7 @@ pushd "$final_path"
|
|||
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 build
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -135,13 +135,12 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Building app..."
|
||||
|
||||
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 clean-all
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm i
|
||||
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 run build
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm migrate
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run migrate
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue