Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonathan Sambrook <jonathan.sambrook@codethink.co.uk>2020-09-04 13:13:20 +0300
committerJonathan Sambrook <jonathan.sambrook@codethink.co.uk>2020-09-04 18:22:42 +0300
commit82216cd6135631ce996f899e5cf3c8e7f6098c74 (patch)
tree0a96f6d030dfc0a147d9d017b1489c4000c319ac /docs
parent49536fa39886f266abaf70b399555243b9ed0139 (diff)
Document configuring the app from the commandline.
Signed-off-by: Jonathan Sambrook <jonathan.sambrook@codethink.co.uk>
Diffstat (limited to 'docs')
-rw-r--r--docs/install.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/install.md b/docs/install.md
index f8d58446..19486335 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -119,7 +119,12 @@ Afterward, configure one VirtualHost properly to proxy the traffic. For security
After configuring these do restart your apache using /etc/init.d/apache2 restart.
-## Configure the app in Nextcloud
+## Configure the app
+
+You can configure the app either from within Nextcloud itself, or from the
+commandline. The latter facilitates automated setup, e.g. via Ansible.
+
+### Configure the app in Nextcloud
Go to the Apps section and choose "Office & text"
Install the "Collabora Online app"
@@ -127,6 +132,16 @@ Admin -> Collabora Online -> Specify the server you have setup before (e.g. "htt
Congratulations, your Nextcloud has Collabora Online Office integrated!
+### Configure the app from the commandline
+
+From a shell running in the Nextcloud root directory, run the following `occ`
+commands, substituting the server url you've setup (e.g. "https://office.nextcloud.com"):
+
+ ./occ config:app:set --value ${SERVER_URL} richdocuments wopi_url
+ ./occ richdocuments:activate-config
+
+Congratulations, your Nextcloud has Collabora Online Office integrated!
+
## Updating the docker image
Occasionally, new versions of this docker image are released with security and feature updates. We will of course let you know when that happens! This is how you upgrade to a new version: