1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ssbroom_ynh.git synced 2024-09-03 20:26:29 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-07-07 13:55:48 +02:00
parent f04541b005
commit 0012c8c825

View file

@ -28,6 +28,18 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
#=================================================
# BUILD APP
#=================================================
ynh_script_progression --message="Building app..." --weight=1
ynh_exec_warn_less ynh_install_go --go_version=$go_version
ynh_use_go
pushd $install_dir
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
popd
#================================================= #=================================================
# CREATE FIRST ADMIN USER # CREATE FIRST ADMIN USER
#================================================= #=================================================