mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
Update install
This commit is contained in:
parent
a8ee65de6d
commit
6417293779
1 changed files with 7 additions and 1 deletions
|
@ -41,7 +41,13 @@ ynh_add_config --template="default.yml" --destination="$install_dir/.config/defa
|
|||
#=================================================
|
||||
ynh_script_progression --message="Building app..." --weight=15
|
||||
|
||||
misskey_build
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" NODE_ENV=production yarn add ts-node webpack -W
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" NODE_ENV=production yarn build
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" NODE_ENV=production yarn run init
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue