mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
commit
2da996f3b2
5 changed files with 10 additions and 11 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.108.1~ynh1
|
||||
**Shipped version:** 12.108.1~ynh2
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue