1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gancio_ynh.git synced 2024-09-03 20:36:19 +02:00

Update install

This commit is contained in:
Éric Gaspar 2024-05-27 14:47:39 +02:00
parent 124e18db5a
commit de83ec9fdd

View file

@ -9,6 +9,8 @@
source _common.sh
source /usr/share/yunohost/helpers
mail=$(ynh_user_get_info --username=$admin --key=mail)
#=================================================
# INSTALL DEPENDENCIES
#=================================================
@ -68,7 +70,7 @@ pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies
#ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create $admin $password admin --config ./config.json
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create $mail $password admin --config ./config.json
popd
#=================================================