Commit da77e6b0 authored by Marco Marinello's avatar Marco Marinello

Debootstrap LibreOffice Online

parent 4aead2b9
......@@ -130,6 +130,19 @@ EOF
rm /tmp/fe_conf.txt
fi
# Install and configure Collabora Online
# at the moment we're unable to reach github assets so we
# need to use a our own mirror
rm -rf /var/www/html/apps/richdocuments
wget -O /tmp/richdocuments.tar.gz https://access.fuss.bz.it/static/nc_cdn/apps/richdocuments.tar.gz
tar -C /var/www/html/apps -xvzf /tmp/richdocuments.tar.gz
run_as 'php /var/www/html/occ app:enable richdocuments'
run_as 'php /var/www/html/occ config:app:set richdocuments enabled --value yes'
run_as 'php /var/www/html/occ config:app:set richdocuments wopi_url --value "https:\/\/collabora.access.fuss.bz.it"'
run_as 'php /var/www/html/occ config:app:set richdocuments public_wopi_url --value "https:\/\/collabora.access.fuss.bz.it"'
run_as 'php /var/www/html/occ config:app:set richdocuments public_wopi_url --value "https:\/\/collabora.access.fuss.bz.it"'
# Start cron
/usr/sbin/cron
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment