mirror of
https://github.com/YunoHost-Apps/endi_ynh.git
synced 2024-09-03 18:35:54 +02:00
Merge pull request #30 from YunoHost-Apps/ci-auto-update-2024.07.05
This commit is contained in:
commit
aa5557f3ba
16 changed files with 295 additions and 204 deletions
31
README.md
31
README.md
|
@ -3,20 +3,24 @@ N.B.: This README was automatically generated by <https://github.com/YunoHost/ap
|
||||||
It shall NOT be edited by hand.
|
It shall NOT be edited by hand.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# enDI for YunoHost
|
# CAERP for YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[Read this README in other languages.](./ALL_README.md)*
|
*[Read this README in other languages.](./ALL_README.md)*
|
||||||
|
|
||||||
> *This package allows you to install enDI quickly and simply on a YunoHost server.*
|
> *This package allows you to install CAERP quickly and simply on a YunoHost server.*
|
||||||
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -25,33 +29,32 @@ enDI is a business management software package. It is the management tool for ec
|
||||||
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 6.6.4~ynh2
|
**Shipped version:** 2024.07.05~ynh1
|
||||||
|
|
||||||
**Demo:** <https://demo.endi.coop>
|
**Demo:** <https://demo.endi.coop>
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
- Official app website: <https://endi.coop>
|
- Official app website: <https://endi.coop>
|
||||||
- Official user documentation: <https://doc.endi.coop>
|
- Official user documentation: <https://doc.endi.coop>
|
||||||
- Official admin documentation: <https://framagit.org/endi/endi>
|
- Upstream app code repository: <https://framagit.org/caerp/caerp>
|
||||||
- Upstream app code repository: <https://framagit.org/endi/endi>
|
- YunoHost Store: <https://apps.yunohost.org/app/caerp>
|
||||||
- YunoHost Store: <https://apps.yunohost.org/app/endi>
|
- Report a bug: <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- Report a bug: <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
||||||
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/endi_ynh/tree/testing).
|
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing).
|
||||||
|
|
||||||
To try the `testing` branch, please proceed like that:
|
To try the `testing` branch, please proceed like that:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
or
|
or
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
31
README_es.md
31
README_es.md
|
@ -3,20 +3,24 @@ Este archivo README esta generado automaticamente<https://github.com/YunoHost/ap
|
||||||
No se debe editar a mano.
|
No se debe editar a mano.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# enDI para Yunohost
|
# CAERP para Yunohost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||||
|
|
||||||
> *Este paquete le permite instalarenDI rapidamente y simplement en un servidor YunoHost.*
|
> *Este paquete le permite instalarCAERP rapidamente y simplement en un servidor YunoHost.*
|
||||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||||
|
|
||||||
## Descripción general
|
## Descripción general
|
||||||
|
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -25,33 +29,32 @@ enDI is a business management software package. It is the management tool for ec
|
||||||
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 6.6.4~ynh2
|
**Versión actual:** 2024.07.05~ynh1
|
||||||
|
|
||||||
**Demo:** <https://demo.endi.coop>
|
**Demo:** <https://demo.endi.coop>
|
||||||
|
|
||||||
## Capturas
|
## Capturas
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Documentaciones y recursos
|
## Documentaciones y recursos
|
||||||
|
|
||||||
- Sitio web oficial: <https://endi.coop>
|
- Sitio web oficial: <https://endi.coop>
|
||||||
- Documentación usuario oficial: <https://doc.endi.coop>
|
- Documentación usuario oficial: <https://doc.endi.coop>
|
||||||
- Documentación administrador oficial: <https://framagit.org/endi/endi>
|
- Repositorio del código fuente oficial de la aplicación : <https://framagit.org/caerp/caerp>
|
||||||
- Repositorio del código fuente oficial de la aplicación : <https://framagit.org/endi/endi>
|
- Catálogo YunoHost: <https://apps.yunohost.org/app/caerp>
|
||||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/endi>
|
- Reportar un error: <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- Reportar un error: <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## Información para desarrolladores
|
## Información para desarrolladores
|
||||||
|
|
||||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/endi_ynh/tree/testing
|
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing
|
||||||
|
|
||||||
Para probar la rama `testing`, sigue asÍ:
|
Para probar la rama `testing`, sigue asÍ:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
o
|
o
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
31
README_eu.md
31
README_eu.md
|
@ -3,20 +3,24 @@ Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/t
|
||||||
EZ editatu eskuz.
|
EZ editatu eskuz.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# enDI YunoHost-erako
|
# CAERP YunoHost-erako
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||||
|
|
||||||
> *Pakete honek enDI YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
> *Pakete honek CAERP YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||||
|
|
||||||
## Aurreikuspena
|
## Aurreikuspena
|
||||||
|
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -25,33 +29,32 @@ enDI is a business management software package. It is the management tool for ec
|
||||||
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 6.6.4~ynh2
|
**Paketatutako bertsioa:** 2024.07.05~ynh1
|
||||||
|
|
||||||
**Demoa:** <https://demo.endi.coop>
|
**Demoa:** <https://demo.endi.coop>
|
||||||
|
|
||||||
## Pantaila-argazkiak
|
## Pantaila-argazkiak
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Dokumentazioa eta baliabideak
|
## Dokumentazioa eta baliabideak
|
||||||
|
|
||||||
- Aplikazioaren webgune ofiziala: <https://endi.coop>
|
- Aplikazioaren webgune ofiziala: <https://endi.coop>
|
||||||
- Erabiltzaileen dokumentazio ofiziala: <https://doc.endi.coop>
|
- Erabiltzaileen dokumentazio ofiziala: <https://doc.endi.coop>
|
||||||
- Administratzaileen dokumentazio ofiziala: <https://framagit.org/endi/endi>
|
- Jatorrizko aplikazioaren kode-gordailua: <https://framagit.org/caerp/caerp>
|
||||||
- Jatorrizko aplikazioaren kode-gordailua: <https://framagit.org/endi/endi>
|
- YunoHost Denda: <https://apps.yunohost.org/app/caerp>
|
||||||
- YunoHost Denda: <https://apps.yunohost.org/app/endi>
|
- Eman errore baten berri: <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## Garatzaileentzako informazioa
|
## Garatzaileentzako informazioa
|
||||||
|
|
||||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/endi_ynh/tree/testing).
|
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing).
|
||||||
|
|
||||||
`testing` abarra probatzeko, ondorengoa egin:
|
`testing` abarra probatzeko, ondorengoa egin:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
edo
|
edo
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
29
README_fr.md
29
README_fr.md
|
@ -3,23 +3,25 @@ Nota bene : ce README est automatiquement généré par <https://github.com/Yu
|
||||||
Il NE doit PAS être modifié à la main.
|
Il NE doit PAS être modifié à la main.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# enDI pour YunoHost
|
# CAERP pour YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
||||||
|
|
||||||
> *Ce package vous permet d’installer enDI rapidement et simplement sur un serveur YunoHost.*
|
> *Ce package vous permet d’installer CAERP rapidement et simplement sur un serveur YunoHost.*
|
||||||
> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.*
|
> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.*
|
||||||
|
|
||||||
## Vue d’ensemble
|
## Vue d’ensemble
|
||||||
|
|
||||||
enDI est un progiciel de gestion d'entreprise. c'est l'outil de pilotage de
|
CAERP est un progiciel de gestion d'entreprise. c'est l'outil de pilotage de
|
||||||
l'activité économique et sociale entièrement dédié aux CAE ainsi qu'à toute
|
l'activité économique et sociale entièrement dédié aux CAE ainsi qu'à toute
|
||||||
entreprise et collectif d'entrepreneur.euse.s indépendant.e.s.
|
entreprise et collectif d'entrepreneur.euse.s indépendant.e.s.
|
||||||
|
|
||||||
|
C'est le logiciel derrière les services enDi et MoOGLI.
|
||||||
|
|
||||||
### Fonctionnalités
|
### Fonctionnalités
|
||||||
|
|
||||||
Il permet aux entrepreneur.euse.s :
|
Il permet aux entrepreneur.euse.s :
|
||||||
|
@ -35,33 +37,32 @@ Il permet aux équipes d'appui une simplification, et une automatisation sur mes
|
||||||
* Accompagnement du parcours entrepreneurial et de l'activité commerciale des entrepreneurs
|
* Accompagnement du parcours entrepreneurial et de l'activité commerciale des entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 6.6.4~ynh2
|
**Version incluse :** 2024.07.05~ynh1
|
||||||
|
|
||||||
**Démo :** <https://demo.endi.coop>
|
**Démo :** <https://demo.endi.coop>
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
- Site officiel de l’app : <https://endi.coop>
|
- Site officiel de l’app : <https://endi.coop>
|
||||||
- Documentation officielle utilisateur : <https://doc.endi.coop>
|
- Documentation officielle utilisateur : <https://doc.endi.coop>
|
||||||
- Documentation officielle de l’admin : <https://framagit.org/endi/endi>
|
- Dépôt de code officiel de l’app : <https://framagit.org/caerp/caerp>
|
||||||
- Dépôt de code officiel de l’app : <https://framagit.org/endi/endi>
|
- YunoHost Store : <https://apps.yunohost.org/app/caerp>
|
||||||
- YunoHost Store : <https://apps.yunohost.org/app/endi>
|
- Signaler un bug : <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- Signaler un bug : <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/endi_ynh/tree/testing).
|
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing).
|
||||||
|
|
||||||
Pour essayer la branche `testing`, procédez comme suit :
|
Pour essayer la branche `testing`, procédez comme suit :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||||
|
|
31
README_gl.md
31
README_gl.md
|
@ -3,20 +3,24 @@ NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/a
|
||||||
NON debe editarse manualmente.
|
NON debe editarse manualmente.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# enDI para YunoHost
|
# CAERP para YunoHost
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[Le este README en outros idiomas.](./ALL_README.md)*
|
*[Le este README en outros idiomas.](./ALL_README.md)*
|
||||||
|
|
||||||
> *Este paquete permíteche instalar enDI de xeito rápido e doado nun servidor YunoHost.*
|
> *Este paquete permíteche instalar CAERP de xeito rápido e doado nun servidor YunoHost.*
|
||||||
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
||||||
|
|
||||||
## Vista xeral
|
## Vista xeral
|
||||||
|
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -25,33 +29,32 @@ enDI is a business management software package. It is the management tool for ec
|
||||||
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 6.6.4~ynh2
|
**Versión proporcionada:** 2024.07.05~ynh1
|
||||||
|
|
||||||
**Demo:** <https://demo.endi.coop>
|
**Demo:** <https://demo.endi.coop>
|
||||||
|
|
||||||
## Capturas de pantalla
|
## Capturas de pantalla
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Documentación e recursos
|
## Documentación e recursos
|
||||||
|
|
||||||
- Web oficial da app: <https://endi.coop>
|
- Web oficial da app: <https://endi.coop>
|
||||||
- Documentación oficial para usuarias: <https://doc.endi.coop>
|
- Documentación oficial para usuarias: <https://doc.endi.coop>
|
||||||
- Documentación oficial para admin: <https://framagit.org/endi/endi>
|
- Repositorio de orixe do código: <https://framagit.org/caerp/caerp>
|
||||||
- Repositorio de orixe do código: <https://framagit.org/endi/endi>
|
- Tenda YunoHost: <https://apps.yunohost.org/app/caerp>
|
||||||
- Tenda YunoHost: <https://apps.yunohost.org/app/endi>
|
- Informar dun problema: <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- Informar dun problema: <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## Info de desenvolvemento
|
## Info de desenvolvemento
|
||||||
|
|
||||||
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/endi_ynh/tree/testing).
|
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing).
|
||||||
|
|
||||||
Para probar a rama `testing`, procede deste xeito:
|
Para probar a rama `testing`, procede deste xeito:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
|
@ -3,20 +3,24 @@
|
||||||
请勿手动编辑。
|
请勿手动编辑。
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# YunoHost 上的 enDI
|
# YunoHost 上的 CAERP
|
||||||
|
|
||||||
[](https://ci-apps.yunohost.org/ci/apps/endi/)  
|
[](https://ci-apps.yunohost.org/ci/apps/caerp/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=endi)
|
[](https://install-app.yunohost.org/?app=caerp)
|
||||||
|
|
||||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||||
|
|
||||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 enDI。*
|
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 CAERP。*
|
||||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||||
|
|
||||||
## 概况
|
## 概况
|
||||||
|
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -25,33 +29,32 @@ enDI is a business management software package. It is the management tool for ec
|
||||||
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
- Support for the entrepreneurial journey and commercial activity of entrepreneurs
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 6.6.4~ynh2
|
**分发版本:** 2024.07.05~ynh1
|
||||||
|
|
||||||
**演示:** <https://demo.endi.coop>
|
**演示:** <https://demo.endi.coop>
|
||||||
|
|
||||||
## 截图
|
## 截图
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 文档与资源
|
## 文档与资源
|
||||||
|
|
||||||
- 官方应用网站: <https://endi.coop>
|
- 官方应用网站: <https://endi.coop>
|
||||||
- 官方用户文档: <https://doc.endi.coop>
|
- 官方用户文档: <https://doc.endi.coop>
|
||||||
- 官方管理文档: <https://framagit.org/endi/endi>
|
- 上游应用代码库: <https://framagit.org/caerp/caerp>
|
||||||
- 上游应用代码库: <https://framagit.org/endi/endi>
|
- YunoHost 商店: <https://apps.yunohost.org/app/caerp>
|
||||||
- YunoHost 商店: <https://apps.yunohost.org/app/endi>
|
- 报告 bug: <https://github.com/YunoHost-Apps/caerp_ynh/issues>
|
||||||
- 报告 bug: <https://github.com/YunoHost-Apps/endi_ynh/issues>
|
|
||||||
|
|
||||||
## 开发者信息
|
## 开发者信息
|
||||||
|
|
||||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/endi_ynh/tree/testing) 发送拉取请求。
|
请向 [`testing` 分支](https://github.com/YunoHost-Apps/caerp_ynh/tree/testing) 发送拉取请求。
|
||||||
|
|
||||||
如要尝试 `testing` 分支,请这样操作:
|
如要尝试 `testing` 分支,请这样操作:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
或
|
或
|
||||||
sudo yunohost app upgrade endi -u https://github.com/YunoHost-Apps/endi_ynh/tree/testing --debug
|
sudo yunohost app upgrade caerp -u https://github.com/YunoHost-Apps/caerp_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[app:endi]
|
[app:caerp]
|
||||||
use = egg:endi
|
use = egg:caerp
|
||||||
|
|
||||||
pyramid.reload_templates = true
|
pyramid.reload_templates = true
|
||||||
pyramid.reload_assets = true
|
pyramid.reload_assets = true
|
||||||
|
@ -10,29 +10,30 @@ pyramid.debug_routematch = false
|
||||||
pyramid.debug_templates = true
|
pyramid.debug_templates = true
|
||||||
pyramid.default_locale_name = fr_FR
|
pyramid.default_locale_name = fr_FR
|
||||||
pyramid.includes =
|
pyramid.includes =
|
||||||
|
pyramid_retry
|
||||||
pyramid_tm
|
pyramid_tm
|
||||||
pyramid_services
|
pyramid_services
|
||||||
endi_celery
|
|
||||||
pyramid_mailer.debug
|
|
||||||
pyramid_layout
|
pyramid_layout
|
||||||
pyramid_mako
|
pyramid_mako
|
||||||
pyramid_chameleon
|
pyramid_chameleon
|
||||||
pyramid_celery
|
pyramid_celery
|
||||||
|
caerp_celery
|
||||||
|
pyramid_mailer.debug
|
||||||
js.deform
|
js.deform
|
||||||
deform_extensions
|
deform_extensions
|
||||||
|
|
||||||
#### MAIL FROM WITHIN THE APPLICATION ####
|
#### MAIL FROM WITHIN THE APPLICATION ####
|
||||||
# Add this one to pyramid.includes if you configured a mailbox
|
# Add this one to pyramid.includes if you configured a mailbox
|
||||||
# pyramid_mailer
|
#pyramid_mailer
|
||||||
|
|
||||||
# Mail configuration
|
# Mail configuration
|
||||||
# Host and port are set to localhost/25 by default
|
# Host and port are set to localhost/25 by default
|
||||||
# mail.host = localhost
|
#mail.host = localhost
|
||||||
# mail.port = 587
|
#mail.port=587
|
||||||
# mail.username = mygmailaccount@gmail.com
|
#mail.username=mygmailaccount@gmail.com
|
||||||
# mail.password = mygmailpasswd
|
#mail.password=mygmailpasswd
|
||||||
# mail.tls=True
|
#mail.tls=True
|
||||||
mail.default_sender = noreply@__DOMAIN__
|
mail.default_sender=noreply@__DOMAIN__
|
||||||
### Optout address for unsubscription (for local smtp purpose)
|
### Optout address for unsubscription (for local smtp purpose)
|
||||||
#mail.optout_address=unsubcribe@mail.com
|
#mail.optout_address=unsubcribe@mail.com
|
||||||
## Bounce_url address (should indicate a server redirecting a query to the url passed in the url GET param)
|
## Bounce_url address (should indicate a server redirecting a query to the url passed in the url GET param)
|
||||||
|
@ -40,15 +41,15 @@ mail.default_sender = noreply@__DOMAIN__
|
||||||
|
|
||||||
#### DATABASE ACCESS CONFIGURATION ####
|
#### DATABASE ACCESS CONFIGURATION ####
|
||||||
sqlalchemy.url = mysql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__?charset=utf8mb4
|
sqlalchemy.url = mysql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__?charset=utf8mb4
|
||||||
# Uncomment the following line to use vagrant
|
# Uncomment the following line to use docker-compose
|
||||||
# sqlalchemy.url = mysql://endi:endi@127.0.0.1:13306/endi?charset=utf8mb4
|
# sqlalchemy.url = mysql://caerp:caerp@127.0.0.1:13306/caerp?charset=utf8mb4
|
||||||
sqlalchemy.echo=False
|
sqlalchemy.echo=False
|
||||||
# Those variables should be improved to fit your configuration
|
# Those variables should be improved to fit your configuration
|
||||||
sqlalchemy.pool_recycle=7200
|
sqlalchemy.pool_recycle=7200
|
||||||
sqlalchemy.pool_size=100
|
sqlalchemy.pool_size=100
|
||||||
|
|
||||||
#### MAKO SPECIFIC CONFIGURATION ####
|
#### MAKO SPECIFIC CONFIGURATION ####
|
||||||
mako.directories = endi:templates
|
mako.directories = caerp:templates
|
||||||
mako.imports = from markupsafe import escape_silent
|
mako.imports = from markupsafe import escape_silent
|
||||||
mako.default_filters = escape_silent
|
mako.default_filters = escape_silent
|
||||||
mako.module_directory = %(here)s/mako_compiled_templates
|
mako.module_directory = %(here)s/mako_compiled_templates
|
||||||
|
@ -71,60 +72,98 @@ cache.default_term.expire = 300
|
||||||
cache.long_term.expire = 20
|
cache.long_term.expire = 20
|
||||||
|
|
||||||
# static file path (may be an url, allowing to have static datas on different servers)
|
# static file path (may be an url, allowing to have static datas on different servers)
|
||||||
endi.static=static
|
caerp.statics=static
|
||||||
# Assets (logo ...) storage path
|
# Assets (logo ...) storage path
|
||||||
endi.assets = %(here)s/data/assets
|
caerp.assets = %(here)s/data/assets
|
||||||
# Temp dir for compiled files (like pdf generation or large export files),
|
# Temp dir for compiled files (like pdf generation or large export files),
|
||||||
# is accessible as a static directory
|
# is accessible as a static directory
|
||||||
endi.static_tmp=endi:tmp
|
caerp.static_tmp=caerp:tmp
|
||||||
# treasury related docs upload
|
# treasury related docs upload
|
||||||
endi.ftpdir=%(here)s/tmp/filesystem
|
caerp.ftpdir=%(here)s/tmp/filesystem
|
||||||
# Max filesize for file attachment (in Bytes)
|
# Max filesize for file attachment (in Bytes)
|
||||||
endi.maxfilesize=2000000
|
caerp.maxfilesize=2000000
|
||||||
# The instance name
|
# The instance name
|
||||||
endi.instance_name=__DOMAIN__
|
caerp.instance_name=__DOMAIN__
|
||||||
# The depot path for storing files locally
|
# The depot path for storing files locally
|
||||||
endi.depot_path = %(here)s/tmp/filedepot
|
caerp.depot_path = %(here)s/tmp/filedepot
|
||||||
# Tempdir for file upload (should exist)
|
# Tempdir for file upload (should exist)
|
||||||
pyramid_deform.tempdir= %(here)s/tmp/tempdir
|
pyramid_deform.tempdir= %(here)s/tmp/tempdir
|
||||||
# Pyramid services configuration (allow to override default behaviour for some
|
# Pyramid services configuration (allow to override default behaviour for some
|
||||||
# interfaces)
|
# interfaces)
|
||||||
# endi.services.treasury_invoice_writer=mypackage.InvoiceWriter
|
## ECRITURES ##
|
||||||
# endi.services.treasury_invoice_producer=mypackage.InvoiceProducer
|
# SAGE GENERATION EXPERT
|
||||||
#endi.services.treasury_expense_writer=mypackage.ExpenseWriter
|
# caerp.services.treasury_invoice_producer=caerp.compute.sage_generation_expert.compute.InvoiceProducer
|
||||||
#endi.services.treasury_expense_producer=mypackage.ExpenseProducer
|
# caerp.services.treasury_internalinvoice_producer=caerp.compute.sage_generation_expert.compute.InternalInvoiceProducer
|
||||||
#endi.services.treasury_payment_writer=mypackage.PaymentWriter
|
# caerp.services.treasury_invoice_writer=caerp.export.sage_generation_expert.InvoiceWriter
|
||||||
#endi.services.treasury_payment_producer=mypackage.PaymentProducer
|
#
|
||||||
|
# caerp.services.treasury_payment_producer=caerp.compute.sage_generation_expert.compute.PaymentProducer
|
||||||
|
# caerp.services.treasury_internalpayment_producer=caerp.compute.sage_generation_expert.compute.InternalPaymentProducer
|
||||||
|
# caerp.services.treasury_payment_writer=caerp.export.sage_generation_expert.PaymentWriter
|
||||||
|
#
|
||||||
|
# caerp.services.treasury_expense_producer=caerp.compute.sage_generation_expert.compute.ExpenseProducer
|
||||||
|
# caerp.services.treasury_expense_writer=caerp.export.sage_generation_expert.ExpenseWriter
|
||||||
|
#
|
||||||
|
# caerp.services.treasury_expense_payment_producer=caerp.compute.sage_generation_expert.compute.ExpensePaymentProducer
|
||||||
|
# caerp.services.treasury_expense_payment_writer=caerp.export.sage_generation_expert.ExpensePaymentWriter
|
||||||
|
#
|
||||||
|
# caerp.services.treasury_supplier_invoice_producer=caerp.compute.sage_generation_expert.compute.SupplierInvoiceProducer
|
||||||
|
# caerp.services.treasury_internalsupplier_invoice_producer=caerp.compute.sage_generation_expert.compute.InternalSupplierInvoiceProducer
|
||||||
|
# caerp.services.treasury_supplier_invoice_writer=caerp.export.sage_generation_expert.SupplierInvoiceWriter
|
||||||
|
#
|
||||||
|
# caerp.services.treasury_supplier_payment_producer=caerp.compute.sage_generation_expert.compute.SupplierPaymentProducer
|
||||||
|
# caerp.services.treasury_supplier_payment_user_producer=caerp.compute.sage_generation_expert.compute.SupplierUserPaymentProducer
|
||||||
|
# caerp.services.treasury_internalsupplier_payment_producer=caerp.compute.sage_generation_expert.compute.InternalSupplierPaymentProducer
|
||||||
|
# caerp.services.treasury_supplier_payment_writer=caerp.export.sage_generation_expert.SupplierPaymentWriter
|
||||||
|
|
||||||
# Payment specific configuration see https://framagit.org/endi/endi_payment
|
# CEGID
|
||||||
# endi_payment_db.url = mysql://endi_payment:endi@localhost/endi_payment?charset=utf8mb4
|
caerp.services.treasury_invoice_writer=caerp.export.cegid.InvoiceWriter
|
||||||
endi.interfaces.IPaymentRecordService = endi_payment.public.PaymentService
|
|
||||||
|
caerp.services.treasury_payment_writer=caerp.export.cegid.PaymentWriter
|
||||||
|
|
||||||
|
caerp.services.treasury_expense_writer=caerp.export.cegid.ExpenseWriter
|
||||||
|
|
||||||
|
caerp.services.treasury_expense_payment_writer=caerp.export.cegid.ExpensePaymentWriter
|
||||||
|
|
||||||
|
caerp.services.treasury_supplier_invoice_writer=caerp.export.cegid.SupplierInvoiceWriter
|
||||||
|
|
||||||
|
caerp.services.treasury_supplier_payment_writer=caerp.export.cegid.SupplierPaymentWriter
|
||||||
|
## FIN DE LA CONFIG DES ECRITURES
|
||||||
|
|
||||||
|
# Payment specific configuration see https://framagit.org/caerp/caerp_payment
|
||||||
|
# caerp_payment_db.url = mysql://caerp_payment:caerp@localhost/caerp_payment?charset=utf8mb4
|
||||||
|
caerp.interfaces.IPaymentRecordService = caerp_payment.public.PaymentService
|
||||||
# Log payment service
|
# Log payment service
|
||||||
endi_payment.interfaces.IPaymentRecordHistoryService = endi_payment.history.HistoryLogService
|
caerp_payment.interfaces.IPaymentRecordHistoryService = caerp_payment.history.HistoryLogService
|
||||||
|
|
||||||
# endi_payment.interfaces.IPaymentRecordHistoryService = endi_payment.history.HistoryDBService
|
# caerp_payment.interfaces.IPaymentRecordHistoryService = caerp_payment.history.HistoryDBService
|
||||||
# Payment archiving service (here FileArchiveService)
|
# Payment archiving service (here FileArchiveService)
|
||||||
# endi_payment.interfaces.IPaymentArchiveService = endi_payment.archive.FileArchiveService
|
# caerp_payment.interfaces.IPaymentArchiveService = caerp_payment.archive.FileArchiveService
|
||||||
# endi_payment_archive_storage_path = %(here)s/data/payment_storage
|
# caerp_payment_archive_storage_path = %(here)s/data/payment_storage
|
||||||
|
|
||||||
# Key used for accounting data upload
|
# Key used for accounting data upload
|
||||||
# endi.accounting_api_key=
|
# caerp.accounting_api_key=
|
||||||
# Key used to count users
|
# Key used to count users
|
||||||
# endi.users_api_key=
|
# caerp.users_api_key=
|
||||||
|
|
||||||
endi.includes=
|
caerp.includes=
|
||||||
endi_payment
|
caerp_payment
|
||||||
endi_payment.views
|
caerp_payment.views
|
||||||
|
|
||||||
|
|
||||||
|
# URL for tiles layer for companies map ; uncomment to override
|
||||||
|
# caerp.leaflet_layer_url=https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
|
||||||
|
|
||||||
[celery]
|
[celery]
|
||||||
broker_url = redis://localhost:6379/__REDIS_DB__
|
broker_url = redis://127.0.0.1:6379/__REDIS_DB__
|
||||||
|
# Uncomment the following line to use docker-compose
|
||||||
|
# broker_url = redis://127.0.0.1:16379/0
|
||||||
imports =
|
imports =
|
||||||
endi_celery.tasks.tasks
|
caerp_celery.tasks.tasks
|
||||||
endi_celery.tasks.mail
|
caerp_celery.tasks.mail
|
||||||
endi_celery.tasks.csv_import
|
caerp_celery.tasks.csv_import
|
||||||
endi_celery.tasks.export
|
caerp_celery.tasks.export
|
||||||
endi_celery.tasks.accounting_measure_compute
|
caerp_celery.tasks.accounting_measure_compute
|
||||||
endi_celery.tasks.accounting_parser
|
caerp_celery.tasks.accounting_parser
|
||||||
|
|
||||||
task_serializer = json
|
task_serializer = json
|
||||||
accept_content=
|
accept_content=
|
||||||
|
@ -140,7 +179,7 @@ bottom=True
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline =
|
pipeline =
|
||||||
fanstatic
|
fanstatic
|
||||||
endi
|
caerp
|
||||||
|
|
||||||
[server:main]
|
[server:main]
|
||||||
use = egg:waitress#main
|
use = egg:waitress#main
|
||||||
|
@ -148,6 +187,7 @@ host = 127.0.0.1
|
||||||
port = __PORT__
|
port = __PORT__
|
||||||
|
|
||||||
# Nginx reverse proxy configuration
|
# Nginx reverse proxy configuration
|
||||||
|
# FIXME: is it legacy?
|
||||||
trusted_proxy = 127.0.0.1
|
trusted_proxy = 127.0.0.1
|
||||||
trusted_proxy_count = 1
|
trusted_proxy_count = 1
|
||||||
trusted_proxy_headers = x-forwarded-for x-forwarded-host x-forwarded-proto x-forwarded-port
|
trusted_proxy_headers = x-forwarded-for x-forwarded-host x-forwarded-proto x-forwarded-port
|
||||||
|
@ -156,7 +196,7 @@ clear_untrusted_proxy_headers = yes
|
||||||
|
|
||||||
[pshell]
|
[pshell]
|
||||||
default_shell = ipython
|
default_shell = ipython
|
||||||
setup = endi.pshell.setup
|
setup = caerp.pshell.setup
|
||||||
|
|
||||||
|
|
||||||
# Begin logging configuration
|
# Begin logging configuration
|
||||||
|
@ -174,10 +214,10 @@ level = WARN
|
||||||
handlers = file, console
|
handlers = file, console
|
||||||
propagate=1
|
propagate=1
|
||||||
|
|
||||||
[logger_endi]
|
[logger_caerp]
|
||||||
level = INFO
|
level = INFO
|
||||||
handlers = file, console, warnfile
|
handlers = file, console, warnfile
|
||||||
qualname = endi
|
qualname = caerp
|
||||||
propagate=0
|
propagate=0
|
||||||
|
|
||||||
[logger_sqlalchemy]
|
[logger_sqlalchemy]
|
||||||
|
@ -193,7 +233,7 @@ propagate=0
|
||||||
level=INFO
|
level=INFO
|
||||||
handlers = celery_file, console
|
handlers = celery_file, console
|
||||||
propagate=0
|
propagate=0
|
||||||
qualname = endi.celery
|
qualname = caerp.celery
|
||||||
|
|
||||||
[logger_alembic]
|
[logger_alembic]
|
||||||
level = INFO
|
level = INFO
|
||||||
|
@ -220,25 +260,25 @@ propagate=0
|
||||||
|
|
||||||
|
|
||||||
[handler_console]
|
[handler_console]
|
||||||
class = endi.log.CustomStreamHandler
|
class = caerp.log.CustomStreamHandler
|
||||||
args = (sys.stderr,)
|
args = (sys.stderr,)
|
||||||
level = NOTSET
|
level = NOTSET
|
||||||
formatter = generic
|
formatter = generic
|
||||||
|
|
||||||
[handler_file]
|
[handler_file]
|
||||||
class = endi.log.CustomFileHandler
|
class = caerp.log.CustomFileHandler
|
||||||
args = ('/var/log/__APP__/logfile.log','a')
|
args = ('/var/log/__APP__/logfile.log','a')
|
||||||
level = INFO
|
level = INFO
|
||||||
formatter = generic
|
formatter = generic
|
||||||
|
|
||||||
[handler_celery_file]
|
[handler_celery_file]
|
||||||
class = endi.log.CustomFileHandler
|
class = caerp.log.CustomFileHandler
|
||||||
args = ('/var/log/__APP__/celery.log','a')
|
args = ('/var/log/__APP__/celery.log','a')
|
||||||
level = INFO
|
level = INFO
|
||||||
formatter = generic
|
formatter = generic
|
||||||
|
|
||||||
[handler_warnfile]
|
[handler_warnfile]
|
||||||
class = endi.log.CustomFileHandler
|
class = caerp.log.CustomFileHandler
|
||||||
args = ('/var/log/__APP__/warnlogfile.log','a')
|
args = ('/var/log/__APP__/warnlogfile.log','a')
|
||||||
level = WARN
|
level = WARN
|
||||||
formatter = generic
|
formatter = generic
|
||||||
|
@ -258,5 +298,5 @@ format = %(asctime)-15s %(levelname)-5.5s %(message)s ([%(name)s.%(funcName)s:%(
|
||||||
# End logging configuration
|
# End logging configuration
|
||||||
#Alembic conf
|
#Alembic conf
|
||||||
[alembic]
|
[alembic]
|
||||||
script_location = endi:alembic
|
script_location = caerp:alembic
|
||||||
file_template = %%(slug)s_%%(rev)s
|
file_template = %%(slug)s_%%(rev)s
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=enDI: logiciel de comptabilité pour CAE
|
Description=CAERP: logiciel de comptabilité pour CAE
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__
|
||||||
ExecStart=__INSTALL_DIR__/venv/bin/pserve endi.ini
|
ExecStart=__INSTALL_DIR__/venv/bin/pserve caerp.ini
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
enDI is a business management software package. It is the management tool for economic and social activity entirely dedicated to CAEs as well as to any company and group of independent entrepreneurs.
|
enDI is a business management software package. It is the management tool for
|
||||||
|
economic and social activity entirely dedicated to CAEs as well as to any
|
||||||
|
company and group of independent entrepreneurs.
|
||||||
|
|
||||||
|
It's the software behind the enDi and MoOGLi services.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
enDI est un progiciel de gestion d'entreprise. c'est l'outil de pilotage de
|
CAERP est un progiciel de gestion d'entreprise. c'est l'outil de pilotage de
|
||||||
l'activité économique et sociale entièrement dédié aux CAE ainsi qu'à toute
|
l'activité économique et sociale entièrement dédié aux CAE ainsi qu'à toute
|
||||||
entreprise et collectif d'entrepreneur.euse.s indépendant.e.s.
|
entreprise et collectif d'entrepreneur.euse.s indépendant.e.s.
|
||||||
|
|
||||||
|
C'est le logiciel derrière les services enDi et MoOGLI.
|
||||||
|
|
||||||
### Fonctionnalités
|
### Fonctionnalités
|
||||||
|
|
||||||
Il permet aux entrepreneur.euse.s :
|
Il permet aux entrepreneur.euse.s :
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
packaging_format = 2
|
packaging_format = 2
|
||||||
|
|
||||||
id = "endi"
|
id = "caerp"
|
||||||
name = "enDI"
|
name = "CAERP"
|
||||||
description.en = "Comptability software for CAE companies (french Communauté d'Activité et d'Emploi)"
|
description.en = "Comptability software for CAE companies (french Communauté d'Activité et d'Emploi), the software behind enDi and MoOGLI"
|
||||||
description.fr = "Progiciel de gestion comptable à l'usage des CAE (Communauté d'Activité et d'Emploi)"
|
description.fr = "Progiciel de gestion comptable à l'usage des CAE (Communauté d'Activité et d'Emploi), le logiciel de enDi et MoOGLI"
|
||||||
|
|
||||||
version = "6.6.4~ynh2"
|
version = "2024.07.05~ynh1"
|
||||||
|
|
||||||
maintainers = ["Salamandar"]
|
maintainers = ["Salamandar"]
|
||||||
|
|
||||||
|
@ -15,9 +15,8 @@ maintainers = ["Salamandar"]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
website = "https://endi.coop"
|
website = "https://endi.coop"
|
||||||
demo = "https://demo.endi.coop"
|
demo = "https://demo.endi.coop"
|
||||||
admindoc = "https://framagit.org/endi/endi"
|
|
||||||
userdoc = "https://doc.endi.coop"
|
userdoc = "https://doc.endi.coop"
|
||||||
code = "https://framagit.org/endi/endi"
|
code = "https://framagit.org/caerp/caerp"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.2.12"
|
yunohost = ">= 11.2.12"
|
||||||
|
@ -45,8 +44,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://framagit.org/endi/endi/-/archive/ea2d73983d1b4f55201cb606dce5b58bc30a0553/endi-ea2d73983d1b4f55201cb606dce5b58bc30a0553.tar.bz2"
|
url = "https://framagit.org/caerp/caerp/-/archive/34ed0cc755e66d7150b263d8b2f9ff4881624271/endi-34ed0cc755e66d7150b263d8b2f9ff4881624271.tar.bz2"
|
||||||
sha256 = "ba5e7a636689188d06a5ec4792cbc0f91e97e57d4ec220283fea5398a05f361d"
|
sha256 = "c98e7210b320b5980846e9f08fe9fdf5a9eee78077e29728914cff0f71a568c7"
|
||||||
autoupdate.strategy = "latest_gitlab_commit"
|
autoupdate.strategy = "latest_gitlab_commit"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
@ -76,6 +75,7 @@ ram.runtime = "50M"
|
||||||
"libmariadb-dev",
|
"libmariadb-dev",
|
||||||
"libmariadb-dev-compat",
|
"libmariadb-dev-compat",
|
||||||
"libpango-1.0-0",
|
"libpango-1.0-0",
|
||||||
|
"libpangocairo-1.0-0",
|
||||||
"libssl-dev",
|
"libssl-dev",
|
||||||
"libxml2-dev",
|
"libxml2-dev",
|
||||||
"libxslt1-dev",
|
"libxslt1-dev",
|
||||||
|
|
|
@ -10,17 +10,10 @@ nodejs_version=16
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
_ynh_endi_patch_src() {
|
_ynh_caerp_build_ui() {
|
||||||
# Patching requirements.txt to use system provided Cython
|
|
||||||
cython_version=$(cython3 --version 2>&1 | sed 's|Cython version ||')
|
|
||||||
sed -i "s|Cython=.*|Cython==$cython_version|" "$install_dir/endi/requirements.txt"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
_ynh_endi_build_ui() {
|
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
|
||||||
pushd "$install_dir/endi" 2>&1
|
pushd "$install_dir/caerp" 2>&1
|
||||||
ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" --prefix js_sources install 2>&1
|
ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" --prefix js_sources install 2>&1
|
||||||
ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" --prefix vue_sources install 2>&1
|
ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" --prefix vue_sources install 2>&1
|
||||||
|
|
||||||
|
@ -29,11 +22,11 @@ _ynh_endi_build_ui() {
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
_ynh_endi_build_python
|
_ynh_caerp_build_python() {
|
||||||
_ynh_python_venv_setup --venv_dir="$install_dir/venv"
|
_ynh_python_venv_setup --venv_dir="$install_dir/venv"
|
||||||
python_venv_site_packages=$(_ynh_python_venv_get_site_packages_dir -d "$install_dir/venv")
|
python_venv_site_packages=$(_ynh_python_venv_get_site_packages_dir -d "$install_dir/venv")
|
||||||
|
|
||||||
pushd "$install_dir/endi" 2>&1
|
pushd "$install_dir/caerp" 2>&1
|
||||||
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r requirements.txt
|
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r requirements.txt
|
||||||
ynh_exec_as "$app" "$install_dir/venv/bin/python3" ./setup.py install 2>&1
|
ynh_exec_as "$app" "$install_dir/venv/bin/python3" ./setup.py install 2>&1
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
|
@ -43,17 +36,17 @@ _ynh_endi_build_python
|
||||||
chown -R "$app:www-data" "$install_dir"
|
chown -R "$app:www-data" "$install_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
_ynh_endi_migratedb() {
|
_ynh_caerp_migratedb() {
|
||||||
pushd "$install_dir" 2>&1
|
pushd "$install_dir" 2>&1
|
||||||
ynh_exec_as $app "$install_dir/venv/bin/endi-admin" "$install_dir/endi.ini" \
|
ynh_exec_as "$app" "$install_dir/venv/bin/caerp-admin" "$install_dir/caerp.ini" \
|
||||||
syncdb
|
syncdb
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
_ynh_endi_add_admin() {
|
_ynh_caerp_add_admin() {
|
||||||
pushd "$install_dir" 2>&1
|
pushd "$install_dir" 2>&1
|
||||||
ynh_exec_as $app "$install_dir/venv/bin/endi-admin" "$install_dir/endi.ini" \
|
ynh_exec_as "$app" "$install_dir/venv/bin/caerp-admin" "$install_dir/caerp.ini" \
|
||||||
useradd --group=admin --user="admin" --pwd="$password" --email="admin@$domain"
|
useradd --group=admin --user="$admin" --pwd="$password" --email="admin@$domain"
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +61,7 @@ _ynh_python_venv_setup() {
|
||||||
local packages
|
local packages
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
|
||||||
ynh_exec_as "$app" python3 -m venv --system-site-packages "$venv_dir"
|
ynh_exec_as "$app" python3 -m venv "$venv_dir"
|
||||||
|
|
||||||
if [[ -n "${packages:-}" ]]; then
|
if [[ -n "${packages:-}" ]]; then
|
||||||
IFS=" " read -r -a pip_packages <<< "$packages"
|
IFS=" " read -r -a pip_packages <<< "$packages"
|
||||||
|
|
|
@ -26,10 +26,10 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating $app's configuration file..." --weight=1
|
ynh_script_progression --message="Updating $app's configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="endi.ini" --destination="$install_dir/endi.ini"
|
ynh_add_config --template="caerp.ini" --destination="$install_dir/caerp.ini"
|
||||||
|
|
||||||
chmod 500 "$install_dir/endi.ini"
|
chmod 500 "$install_dir/caerp.ini"
|
||||||
chown "$app:$app" "$install_dir/endi.ini"
|
chown "$app:$app" "$install_dir/caerp.ini"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -20,26 +20,25 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||||
ynh_script_progression --message="Enabling french system locale..." --weight=1
|
ynh_script_progression --message="Enabling french system locale..." --weight=1
|
||||||
|
|
||||||
sed -i 's|^#\? \?\(fr_FR.UTF-8 \?.*\)$|\1|' /etc/locale.gen
|
sed -i 's|^#\? \?\(fr_FR.UTF-8 \?.*\)$|\1|' /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Setting up source files..." --weight=1
|
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir/endi"
|
ynh_setup_source --dest_dir="$install_dir/caerp"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R "$app:www-data" "$install_dir"
|
chown -R "$app:www-data" "$install_dir"
|
||||||
|
|
||||||
# _ynh_endi_patch_src
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION
|
# SETUP APPLICATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Building $app..." --weight=1
|
ynh_script_progression --message="Building $app..." --weight=1
|
||||||
|
|
||||||
_ynh_endi_build_ui
|
_ynh_caerp_build_ui
|
||||||
_ynh_endi_build_python
|
_ynh_caerp_build_python
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
|
@ -49,16 +48,16 @@ ynh_script_progression --message="Adding $app's configuration file..." --weight=
|
||||||
redis_db=$(ynh_redis_get_free_db)
|
redis_db=$(ynh_redis_get_free_db)
|
||||||
ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db"
|
ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db"
|
||||||
|
|
||||||
ynh_add_config --template="endi.ini" --destination="$install_dir/endi.ini"
|
ynh_add_config --template="caerp.ini" --destination="$install_dir/caerp.ini"
|
||||||
|
|
||||||
chmod 500 "$install_dir/endi.ini"
|
chmod 500 "$install_dir/caerp.ini"
|
||||||
chown "$app:$app" "$install_dir/endi.ini"
|
chown "$app:$app" "$install_dir/caerp.ini"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE LOG DIRECTORY
|
# CREATE LOG DIRECTORY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
mkdir "/var/log/$app"
|
mkdir -p "/var/log/$app"
|
||||||
chown -R "$app:$app" "/var/log/$app"
|
chown -R "$app:$app" "/var/log/$app"
|
||||||
chmod 750 "/var/log/$app"
|
chmod 750 "/var/log/$app"
|
||||||
|
|
||||||
|
@ -67,20 +66,18 @@ chmod 750 "/var/log/$app"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring $app..." --weight=1
|
ynh_script_progression --message="Configuring $app..." --weight=1
|
||||||
|
|
||||||
_ynh_endi_migratedb
|
_ynh_caerp_migratedb
|
||||||
_ynh_endi_add_admin
|
_ynh_caerp_add_admin
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# SYSTEM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP LOGROTATE
|
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Configuring log rotation..." --weight=1
|
|
||||||
|
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
yunohost service add "$app" --description="enDI, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
yunohost service add "$app" --description="CAERP, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
||||||
|
|
||||||
ynh_use_logrotate --logfile="/var/log/$app/logfile.log"
|
ynh_use_logrotate --logfile="/var/log/$app/logfile.log"
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,21 @@
|
||||||
source ../settings/scripts/_common.sh
|
source ../settings/scripts/_common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INSTALL NODEJS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Installing NodeJS..." --weight=1
|
||||||
|
|
||||||
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ENABLE MANDATORY FRENCH LOCALE
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Enabling french system locale..." --weight=1
|
||||||
|
|
||||||
|
sed -i 's|^#\? \?\(fr_FR.UTF-8 \?.*\)$|\1|' /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE APP MAIN DIR
|
# RESTORE THE APP MAIN DIR
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -34,7 +49,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||||
systemctl enable "$app.service" --quiet
|
systemctl enable "$app.service" --quiet
|
||||||
yunohost service add "$app" --description="enDI, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
yunohost service add "$app" --description="CAERP, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,22 @@ ynh_script_progression --message="Stopping $app's systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/logfile.log"
|
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/logfile.log"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
|
if [ -d "$install_dir/endi" ]; then
|
||||||
|
ynh_secure_remove --file="$install_dir/endi"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$install_dir/endi.ini" ]; then
|
||||||
|
ynh_backup_if_checksum_is_different --file="$install_dir/endi.ini"
|
||||||
|
mv "$install_dir/endi.ini" "$install_dir/caerp.ini"
|
||||||
|
ynh_delete_file_checksum --file="$install_dir/endi.ini"
|
||||||
|
ynh_store_file_checksum --file="$install_dir/caerp.ini"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL NODEJS
|
# INSTALL NODEJS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -21,41 +37,49 @@ ynh_script_progression --message="Updating NodeJS..." --weight=1
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ENABLE MANDATORY FRENCH LOCALE
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Enabling french system locale..." --weight=1
|
||||||
|
|
||||||
|
sed -i 's|^#\? \?\(fr_FR.UTF-8 \?.*\)$|\1|' /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir/endi" --full_replace --keep="endi.ini"
|
ynh_setup_source --dest_dir="$install_dir/caerp" --full_replace --keep="endi.ini caerp.ini"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R "$app:www-data" "$install_dir"
|
chown -R "$app:www-data" "$install_dir"
|
||||||
|
|
||||||
# _ynh_endi_patch_src
|
#=================================================
|
||||||
|
# SETUP APPLICATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Building $app..." --weight=1
|
||||||
|
|
||||||
|
_ynh_caerp_build_ui
|
||||||
|
_ynh_caerp_build_python
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating $app's configuration file..." --weight=1
|
ynh_script_progression --message="Updating $app's configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="endi.ini" --destination="$install_dir/endi.ini"
|
ynh_add_config --template="caerp.ini" --destination="$install_dir/caerp.ini"
|
||||||
|
|
||||||
chmod 500 "$install_dir/endi.ini"
|
chmod 500 "$install_dir/caerp.ini"
|
||||||
chown "$app:$app" "$install_dir/endi.ini"
|
chown "$app:$app" "$install_dir/caerp.ini"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SETUP APPLICATION
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Building $app..." --weight=1
|
|
||||||
_ynh_endi_build_ui
|
|
||||||
_ynh_endi_build_python
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION
|
# SETUP APPLICATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Migrating databases..." --weight=1
|
ynh_script_progression --message="Migrating databases..." --weight=1
|
||||||
_ynh_endi_migratedb
|
|
||||||
|
_ynh_caerp_migratedb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
@ -66,7 +90,7 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
yunohost service add "$app" --description="enDI, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
yunohost service add "$app" --description="CAERP, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log"
|
||||||
|
|
||||||
# Use logrotate to manage app-specific logfile(s)
|
# Use logrotate to manage app-specific logfile(s)
|
||||||
ynh_use_logrotate --logfile="/var/log/$app/logfile.log"
|
ynh_use_logrotate --logfile="/var/log/$app/logfile.log"
|
||||||
|
|
Loading…
Add table
Reference in a new issue