mirror of
https://github.com/YunoHost-Apps/reiverr_ynh.git
synced 2024-09-03 20:16:14 +02:00
commit
076ac483a7
3 changed files with 8 additions and 4 deletions
|
@ -58,3 +58,8 @@ ram.runtime = "50M"
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 9494
|
main.default = 9494
|
||||||
|
|
||||||
|
[resources.apt]
|
||||||
|
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||||||
|
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||||
|
extras.yarn.packages = "yarn"
|
||||||
|
|
||||||
|
|
|
@ -42,12 +42,12 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# BUILD APP
|
# BUILD APP
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Building __APP__..."
|
ynh_script_progression --message="Building $app..."
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_npm install yarn
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install vite
|
||||||
ynh_npm install vite
|
|
||||||
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --network-timeout=100000
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --network-timeout=100000
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,6 @@ ynh_script_progression --message="Building __APP__..."
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_npm install yarn
|
|
||||||
ynh_npm install vite
|
ynh_npm install vite
|
||||||
|
|
||||||
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18
|
||||||
|
|
Loading…
Reference in a new issue