1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Update README.md

This commit is contained in:
ericgaspar 2020-09-20 17:37:05 +02:00
parent 9582eaf1ef
commit 75e8f849b9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -30,49 +30,49 @@ The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-App
## Demo ## Demo
* A free 30 days demo of Document Server is available from OnlyOffice connector for Nextcloud: * A free 30 days demo of Document Server is available from OnlyOffice connector for Nextcloud:
* Install Nextcloud and the ONLYOFFICE app (connector) * Install Nextcloud and the ONLYOFFICE app (connector).
* Go in the Nextcloud administrator settings, section ONLYOFFICE * Go in the Nextcloud administrator settings, section ONLYOFFICE.
* Tick the box `Connection to demo ONLYOFFICE Document Server` in Server Parameters * Tick the box `Connection to demo ONLYOFFICE Document Server` in Server Parameters.
* Some testing is also possible using [ONLYOFFICE Desktop Editor](https://www.onlyoffice.com/fr/download-desktop.aspx) * Some testing is also possible using [ONLYOFFICE Desktop Editor](https://www.onlyoffice.com/fr/download-desktop.aspx).
## Prerequisite ## Prerequisite
You should not install `onlyoffice` on your main YunoHost domain, especially if you want to use it with a `nextcloud` installed on the same domain. You should not install OnlyOffice on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.
* Add a new domain for OnlyOffice in YunoHost * Add a new domain for OnlyOffice in YunoHost.
* If your main YunoHost domain was provided by YunoHost, e.g. `domain.nohost.me`, then you don't have to buy/register a new domain name * If your main YunoHost domain was provided by YunoHost, e.g. `domain.nohost.me`, then you don't have to buy/register a new domain name.
* Just click on `I already have a domain` * Just click on `I already have a domain`.
* Type e.g. `office.domain.nohost.me` and click on `Add` * Type e.g. `office.domain.nohost.me` and click on `Add`.
* Add a Let's Encrypt certificate for this domain * Add a Let's Encrypt certificate for this domain.
## Configuration of OnlyOffice Server ## Configuration of OnlyOffice Server
* Suppose: * Assuming that:
* `yunohost.domain` is your main YunoHost domain * `yunohost.domain` is your main YunoHost domain.
* you have configured `office.yunohost.domain` for OnlyOffice, see Prerequisite above * You have configured `office.yunohost.domain` for OnlyOffice, see Prerequisite above.
* you have Nextcloud installed on `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain` * You have Nextcloud installed on `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
* Install `onlyoffice` using CLI or webadmin * Install `onlyoffice` using CLI or webadmin.
* Choose a domain name for OnlyOffice that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section) * Choose a domain name for OnlyOffice that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section).
* Choose a path for OnlyOffice, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain) * Choose a path for OnlyOffice, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain).
* The domain of your Nextcloud instance, e.g. `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain` * The domain of your Nextcloud instance, e.g. `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
* Is it a public application? **If you want to connect it to Nextcloud, OnlyOffice should be public**: then select `Yes` or `tick the box` * Is it a public application? **If you want to connect it to Nextcloud, OnlyOffice should be public**: then select `Yes` or `tick the box`.
## How to edit OnlyOffice documents? ## How to edit OnlyOffice documents?
### Web Edition in Nextcloud ### Web Edition in Nextcloud
Prerequisite: **OnlyOffice should be public**, see previous section. Prerequisite: **OnlyOffice should be public**, see previous section.
* In Nextcloud apps store, install `ONLYOFFICE`, i.e. the [OnlyOffice connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice) * In Nextcloud apps store, install `ONLYOFFICE`, i.e. the [ONLYOFFICE connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice).
* Go in the Nextcloud `settings` > `Administration` > `ONLYOFFICE` > `Server settings` > `Address of the Document Server` * Go in the Nextcloud `settings` > `Administration` > `ONLYOFFICE` > `Server settings` > `Address of the Document Server`.
* Give the installation domain of your `onlyoffice`, e.g. `https://office.yunohost.domain/` and click `Save` * Give the installation domain of your `onlyoffice`, e.g. `https://office.yunohost.domain/` and click `Save`.
* Create a new document and enjoy! * Create a new document and enjoy!
### Desktop Edition on PC ### Desktop Edition on PC
* Download and install a [ONLYOFFICE Desktop Editor](https://www.onlyoffice.com/fr/download-desktop.aspx) * Download and install a [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx).
* Start ONLYOFFICE and Go to `Connect to cloud` > `Add cloud` * Start ONLYOFFICE and Go to `Connect to cloud` > `Add cloud`.
* Select `ONLYOFFICE` and give the installation domain of your `onlyoffice`, e.g. `office.yunohost.domain` * Select `ONLYOFFICE` and give the installation domain of your `onlyoffice`, e.g. `office.yunohost.domain`
* or (only if you connected `onlyoffice` to Nextcloud, see previous section) * or (only if you connected `onlyoffice` to Nextcloud, see previous section).
* Select `Nextcloud` and give your Nextcloud installation domain, e.g. `yunohost.domain/nextcloud` * Select `Nextcloud` and give your Nextcloud installation domain, e.g. `yunohost.domain/nextcloud`.
* Create a new document and enjoy! * Create a new document and enjoy!
## Documentation ## Documentation
@ -90,7 +90,7 @@ Prerequisite: **OnlyOffice should be public**, see previous section.
* Report a bug: https://github.com/YunoHost-Apps/onlyoffice_ynh/issues * Report a bug: https://github.com/YunoHost-Apps/onlyoffice_ynh/issues
* App website: https://www.onlyoffice.com * App website: https://www.onlyoffice.com
* Github App website: https://github.com/ONLYOFFICE/DocumentServer * GitHub App website: https://github.com/ONLYOFFICE/DocumentServer
* YunoHost website: https://yunohost.org/ * YunoHost website: https://yunohost.org/
--- ---