mirror of
https://github.com/YunoHost-Apps/plateau_ynh.git
synced 2024-09-03 20:06:38 +02:00
commit
aefe5e5869
3 changed files with 19 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
port="666"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_sub_dir=0
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
"url": "https://plateau.latelier-des-chercheurs.fr/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"website": "https://github.com/l-atelier-des-chercheurs/PLATEAU",
|
||||
"demo": "https://github.com/l-atelier-des-chercheurs/PLATEAU",
|
||||
"website": "https://latelier-des-chercheurs.fr",
|
||||
"demo": "https://plateau.latelier-des-chercheurs.fr",
|
||||
"admindoc": "https://github.com/l-atelier-des-chercheurs/PLATEAU",
|
||||
"userdoc": "https://github.com/YunoHost-Apps/plateau_ynh",
|
||||
"code": "https://github.com/l-atelier-des-chercheurs/PLATEAU"
|
||||
|
|
|
@ -133,6 +133,22 @@ ynh_add_nginx_config
|
|||
# ...
|
||||
#=================================================
|
||||
|
||||
#=================================================
|
||||
# UPGRADE DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading dependencies..."
|
||||
|
||||
# Define and install dependencies
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
ynh_use_nodejs
|
||||
|
||||
#=================================================
|
||||
# INSTALL PLATEAU
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing Plateau..." --weight=3
|
||||
cd $final_path
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue