mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Merge branch 'testing' into v2_PostgreSQL
This commit is contained in:
commit
15385967e4
3 changed files with 34 additions and 17 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
# Add .mjs as a file extension for javascript
|
||||||
|
# Either include it in the default mime.types list
|
||||||
|
# or include you can include that list explicitly and add the file extension
|
||||||
|
# only for Nextcloud like below:
|
||||||
|
include mime.types;
|
||||||
|
types {
|
||||||
|
text/javascript js mjs;
|
||||||
|
}
|
||||||
|
|
||||||
location ^~ /.well-known {
|
location ^~ /.well-known {
|
||||||
# The following 6 rules are borrowed from `.htaccess`
|
# The following 6 rules are borrowed from `.htaccess`
|
||||||
|
|
||||||
|
|
19
doc/ADMIN.md
19
doc/ADMIN.md
|
@ -1,19 +1,24 @@
|
||||||
### How to use CLI commande
|
### Manually running Nextcloud commands
|
||||||
|
|
||||||
`sudo -u __APP__ php__YNH_PHP_VERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...`
|
You can run Nextcloud commands from the command line using:
|
||||||
|
|
||||||
or use `sudo yunohost app shell __APP__` then run `php occ ...`
|
```
|
||||||
|
sudo -u __APP__ php__YNH_PHP_VERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...
|
||||||
|
```
|
||||||
|
|
||||||
### Configure ONLYOFFICE integration
|
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)
|
#### With YunoHost App (ARM64 support, better performance)
|
||||||
|
|
||||||
For better performance and ARM64 support (Raspberry Pi, OLinuXino...), install ONLYOFFICE YunoHost App 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)
|
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)
|
#### Alternative: With Nextcloud App (no ARM support, lower performance)
|
||||||
|
|
||||||
Nextcloud features a direct integration of ONLYOFFICE (an online rich text document editor) through a Nextcloud app.
|
Nextcloud features a direct integration of ONLYOFFICE through a Nextcloud app.
|
||||||
To install and configure it:
|
|
||||||
- Install *Community Document Server* application in your Nextcloud. That's the part that runs ONLYOFFICE server.
|
- 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.
|
- 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.
|
- Then in Settings -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), if you want to configure which file formats should be opened by ONLYOFFICE.
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
### Comment utiliser la commande CLI
|
### Exécuter manuellement des commandes Nextcloud
|
||||||
|
|
||||||
`sudo -u __APP__ php__YNH_PHP_VERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...`
|
Vous pouvez lancer des commandes Nextcloud depuis la ligne de commande avec:
|
||||||
|
|
||||||
ou utilisez `sudo yunohost app shell __APP__` puis `php occ ...`
|
```
|
||||||
|
sudo -u __APP__ php__YNH_PHP_VERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...
|
||||||
|
```
|
||||||
|
|
||||||
### Configurer l'intégration d'ONLYOFFICE
|
Ou bien, vous pouvez ouvrir un "shell Nextcloud" avec `sudo yunohost app shell __APP__`, puis lancer `php occ ...`
|
||||||
|
|
||||||
|
### Intégration d'ONLYOFFICE
|
||||||
|
|
||||||
|
ONLYOFFICE est un éditeur de texte enrichi en ligne qui peut s'intégrer dans Nextcloud
|
||||||
|
|
||||||
#### Avec l'application YunoHost (support ARM64, meilleures performances)
|
#### Avec l'application YunoHost (support ARM64, meilleures performances)
|
||||||
|
|
||||||
Pour de meilleures performances et le support de ARM64 (Raspberry Pi, OLinuXino...), installez l'app YunoHost ONLYOFFICE, voir le tutoriel dans la [doc du paquet onlyoffice_ynh](https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/master/README_fr.md#configuration-de-onlyoffice-server)
|
Pour de meilleures performances et le support de ARM64 (Raspberry Pi, OLinuXino...), installez l'[app YunoHost OnlyOffice](https://apps.yunohost.org/app/onlyoffice), puis connectez-la à Nextcloud : voir le tutoriel dans la [doc du paquet onlyoffice_ynh](https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/master/README_fr.md#configuration-de-onlyoffice-server)
|
||||||
|
|
||||||
#### Alternative: Avec l'application Nextcloud (pas de support ARM, performances limitées)
|
#### Alternative: avec l'application Nextcloud (pas de support ARM, performances limitées)
|
||||||
|
|
||||||
Nextcloud inclut une intégration directe de ONLYOFFICE (un éditeur de texte enrichi en ligne) via une application Nextcloud.
|
Nextcloud inclut une intégration directe via une application Nextcloud.
|
||||||
Pour l'installer et la configurer :
|
|
||||||
- Installez l'application *Community Document Server* dans votre Nextcloud. C'est la partie qui fait tourner un serveur ONLYOFFICE.
|
- Installez l'application *Community Document Server* dans votre Nextcloud. C'est la partie qui fait tourner un serveur ONLYOFFICE.
|
||||||
- Installez l'application *ONLYOFFICE*. C'est la partie cliente qui va se connecter au serveur ONLYOFFICE.
|
- Installez l'application *ONLYOFFICE*. C'est la partie cliente qui va se connecter au serveur ONLYOFFICE.
|
||||||
- Ensuite dans les Paramètres -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), si vous voulez configurer quels formats de fichier s'ouvrent avec ONLYOFFICE.
|
- Ensuite dans les Paramètres -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), si vous voulez configurer quels formats de fichier s'ouvrent avec ONLYOFFICE.
|
||||||
|
|
||||||
*NB : l'app Nextcloud ONLYOFFICE Community Document Server n'est disponible que sous architecture x86
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue