1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/misskey_ynh.git synced 2024-09-03 19:46:03 +02:00

Merge pull request #55 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-03-16 15:28:57 +01:00 committed by GitHub
commit 2da996f3b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 11 deletions

View file

@ -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.108.1~ynh1
**Shipped version:** 12.108.1~ynh2

View file

@ -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.108.1~ynh1
**Version incluse :** 12.108.1~ynh2

View file

@ -6,7 +6,7 @@
"en": "Microblogging platform",
"fr": "Platforme de Microblogging"
},
"version": "12.108.1~ynh1",
"version": "12.108.1~ynh2",
"url": "https://join.misskey.page/en/",
"upstream": {
"license": "AGPL-3.0",

View file

@ -69,7 +69,6 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
@ -141,9 +140,9 @@ ynh_script_progression --message="Installing Misskey..." --weight=15
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less yarn add ts-node webpack
ynh_exec_warn_less yarn build
ynh_exec_warn_less yarn run init
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn add ts-node webpack
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn run init
popd
#=================================================

View file

@ -117,7 +117,6 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
@ -125,9 +124,10 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st
#=================================================
pushd "$final_path"
ynh_exec_warn_less yarn install
ynh_exec_warn_less yarn build
ynh_exec_warn_less yarn migrate
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn run clean
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn migrate
popd
#=================================================