1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Update install

This commit is contained in:
ericgaspar 2021-08-08 09:24:05 +02:00
parent 4648a9484f
commit 5addde9fd5

View file

@ -38,6 +38,7 @@ final_path=/var/www/$app
test ! -e "$final_path" || ynh_die --message="This path already contains a folder" test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
mkdir -p "/etc/vikunja" mkdir -p "/etc/vikunja"
touch "/etc/vikunja/config.yml"
# Register (book) web path # Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
@ -107,7 +108,7 @@ ynh_script_progression --message="Installing backend..." --weight=15
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir --source_id=api ynh_setup_source --dest_dir=$tempdir --source_id=api
ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb
chmod +x /opt/vikunja/vikunja chmod +x "/opt/vikunja/vikunja"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION