1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/reiverr_ynh.git synced 2024-09-03 20:16:14 +02:00

Merge pull request #7 from YunoHost-Apps/testing

Update install
This commit is contained in:
Thomas 2024-06-12 12:33:42 +02:00 committed by GitHub
commit 076ac483a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View file

@ -58,3 +58,8 @@ ram.runtime = "50M"
[resources.ports]
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"

View file

@ -42,12 +42,12 @@ ynh_add_nginx_config
#=================================================
# BUILD APP
#=================================================
ynh_script_progression --message="Building __APP__..."
ynh_script_progression --message="Building $app..."
pushd $install_dir
ynh_use_nodejs
ynh_npm install yarn
ynh_npm install vite
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install vite
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

View file

@ -57,7 +57,6 @@ ynh_script_progression --message="Building __APP__..."
pushd $install_dir
ynh_use_nodejs
ynh_npm install yarn
ynh_npm install vite
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18