mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
### Manually running Nextcloud commands
|
|
|
|
You can run Nextcloud commands from the command line using:
|
|
|
|
```
|
|
sudo -u __APP__ php__PHPVERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...
|
|
```
|
|
|
|
Alternatively, you may open a 'Nextcloud shell' with `sudo yunohost app shell __APP__`, then run `php occ ...`
|
|
|
|
### ONLYOFFICE integration
|
|
|
|
ONLYOFFICE is an online rich text document editor which can be integrated in Nextcloud
|
|
|
|
#### With YunoHost App (ARM64 support, better performance)
|
|
|
|
For better performance and ARM64 support (Raspberry Pi, OLinuXino...), install the [OnlyOffice YunoHost app](https://apps.yunohost.org/app/onlyoffice) and connect it to Nextcloud, see the tutorial in the [doc of onlyoffice_ynh package](https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/master/README_fr.md#configuration-de-onlyoffice-server)
|
|
|
|
#### Alternative: With Nextcloud App (no ARM support, lower performance)
|
|
|
|
Nextcloud features a direct integration of ONLYOFFICE through a Nextcloud app.
|
|
- Install *Community Document Server* application in your Nextcloud. That's the part that runs ONLYOFFICE server.
|
|
- Install *ONLYOFFICE* application. That's the client part that will connect to an ONLYOFFICE server.
|
|
- Then in Settings -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), if you want to configure which file formats should be opened by ONLYOFFICE.
|