|
|
@@ -40,16 +40,15 @@ Les repositories suivants doivent être clônés dans les sous-répertoires suiv
|
|
|
| apps/opentalent-config | [Voir le repository](https://gitlab.2iopenservice.com/developper/opentalent-config) | git@gitlab.2iopenservice.com:developper/opentalent-config.git |
|
|
|
| apps/opentalent-platform | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/opentalent-platform) | git@gitlab.2iopenservice.com:opentalent/opentalent-platform.git |
|
|
|
| apps/ot_typo3 | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/ot_typo3) | git@gitlab.2iopenservice.com:opentalent/ot_typo3.git |
|
|
|
-| apps/portail | - | - |
|
|
|
| apps/metabase | [Voir le repository](https://gitlab.2iopenservice.com/vincent/metabase) | git@gitlab.2iopenservice.com:vincent/metabase.git |
|
|
|
| apps/python-scripts/clonedb | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/clonedb) | git@gitlab.2iopenservice.com:opentalent/clonedb.git |
|
|
|
-| apps/frames | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/frames) | git@gitlab.2iopenservice.com:opentalent/frames.git |
|
|
|
| apps/agenda | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/agenda) | git@gitlab.2iopenservice.com:opentalent/agenda.git |
|
|
|
| apps/ap2i | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/ap2i) | git@gitlab.2iopenservice.com:opentalent/ap2i.git |
|
|
|
| apps/ap2i-doc | [Voir le repository](https://gitlab.2iopenservice.com/vincent/ap2i-doc) | git@gitlab.2iopenservice.com:vincent/ap2i-doc.git |
|
|
|
| apps/app | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/app) | git@gitlab.2iopenservice.com:opentalent/app.git |
|
|
|
| apps/app_v3 | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/app_nuxt3) | git@gitlab.2iopenservice.com:opentalent/app_nuxt3.git |
|
|
|
| apps/app-doc | [Voir le repository](https://gitlab.2iopenservice.com/vincent/app-doc) | git@gitlab.2iopenservice.com:vincent/app-doc.git |
|
|
|
+| apps/site_logiciels | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/site_logiciels) | git@gitlab.2iopenservice.com:opentalent/site_logiciels.git |
|
|
|
|
|
|
|
|
|
### Configurer le projet
|
|
|
@@ -82,9 +81,7 @@ Pour cela, ajouter les lignes suivantes à votre fichier `/etc/hosts`:
|
|
|
127.0.0.1 local.elasticsearch.opentalent.fr # Docker 'es'
|
|
|
127.0.0.1 local.admin.opentalent.fr # Docker 'admin'
|
|
|
127.0.0.1 local.thumbor.opentalent.fr # Docker 'thumbor'
|
|
|
- 127.0.0.1 local.opentalent.fr # Docker 'portail'
|
|
|
127.0.0.1 local.sub.opentalent.fr # Docker 'typo3'
|
|
|
- 127.0.0.1 local.frames.opentalent.fr # Docker 'frames'
|
|
|
127.0.0.1 local.agenda.opentalent.fr # Docker 'agenda'
|
|
|
127.0.0.1 local.blackfire.opentalent.fr # Docker 'blackfire'
|
|
|
127.0.0.1 local.metabase.opentalent.fr # Docker 'metabase'
|
|
|
@@ -93,7 +90,7 @@ Pour cela, ajouter les lignes suivantes à votre fichier `/etc/hosts`:
|
|
|
127.0.0.1 local.app.opentalent.fr # Docker 'app'
|
|
|
127.0.0.1 local.app-doc.opentalent.fr # Docker 'app-doc'
|
|
|
127.0.0.1 local.mercure.opentalent.fr # Docker 'mercure'
|
|
|
- 127.0.0.1 local.portail-v2.opentalent.fr # Docker 'portail-v2'
|
|
|
+ 127.0.0.1 local.logiciels.opentalent.fr # Docker 'logiciels'
|
|
|
127.0.0.1 local.maestro.opentalent.fr # Docker 'maestro'
|
|
|
127.0.0.1 local.nuxt_common.opentalent.fr # Docker 'nuxt_common'
|
|
|
|
|
|
@@ -245,6 +242,14 @@ Lancer le serveur front:
|
|
|
|
|
|
gulp serve
|
|
|
|
|
|
+## Erreur au moment du Gulp serve
|
|
|
+
|
|
|
+Si l'erreur "SyntaxError: Unexpected toker {" apparait au moment du gulp serve.
|
|
|
+Il faut faire :
|
|
|
+
|
|
|
+ npm uninstall -g gulp-cli gulp
|
|
|
+ npm install -g gulp@3.9.1
|
|
|
+
|
|
|
|
|
|
#### Docker Ap2i
|
|
|
|
|
|
@@ -271,18 +276,6 @@ Puis lancer :
|
|
|
ln -s .env.docker .env
|
|
|
|
|
|
|
|
|
-#### Docker Frames
|
|
|
-
|
|
|
-Se connecter au docker:
|
|
|
-
|
|
|
- docker exec -it frames bash
|
|
|
-
|
|
|
-Puis lancer :
|
|
|
-
|
|
|
- yarn install
|
|
|
- ln -s .env.docker .env
|
|
|
-
|
|
|
-
|
|
|
#### Docker agenda
|
|
|
|
|
|
Se connecter au docker:
|
|
|
@@ -294,11 +287,11 @@ Puis lancer :
|
|
|
yarn install
|
|
|
ln -s .env.docker .env
|
|
|
|
|
|
-#### Docker Poratil V2
|
|
|
+#### Docker Site Logiciels
|
|
|
|
|
|
Se connecter au docker:
|
|
|
|
|
|
- docker exec -it portail_v2 bash
|
|
|
+ docker exec -it site_logiciels bash
|
|
|
|
|
|
Puis lancer :
|
|
|
|
|
|
@@ -377,16 +370,6 @@ Puis, lancer:
|
|
|
|
|
|
yarn dev
|
|
|
|
|
|
-### Démarrer le serveur frames et frames v3
|
|
|
-
|
|
|
-Si vous ne l'avez pas encore fait, créer le symlink vers le fichier d'environnement :
|
|
|
-
|
|
|
- ln -s .env.local .env
|
|
|
-
|
|
|
-Puis, lancer:
|
|
|
-
|
|
|
- yarn dev
|
|
|
-
|
|
|
|
|
|
## Description des containers
|
|
|
|
|
|
@@ -447,18 +430,10 @@ Héberge l'application frontend Opentalent, version pré-2021:
|
|
|
Héberge l'application frontend Opentalent v2:
|
|
|
<https://gitlab.2iopenservice.com/opentalent/app>
|
|
|
|
|
|
-#### Docker: `portail`
|
|
|
-
|
|
|
-Héberge une instance Typo3 version 8.7, qui sert entre autres le portail Opentalent et le site 2iOpenservice
|
|
|
-
|
|
|
#### Docker: `typo3`
|
|
|
|
|
|
Héberge une instance Typo3 version 9.5, qui sert tous les mini-sites des clients.
|
|
|
|
|
|
-#### Docker: `frames`
|
|
|
-
|
|
|
-Héberge l'application Frames. Voir ici: https://gitlab.2iopenservice.com/opentalent/frames
|
|
|
-
|
|
|
#### Docker: `adminassos`
|
|
|
|
|
|
TODO: à quoi il sert?
|
|
|
@@ -496,6 +471,12 @@ Héberge une instance phpdoc, qui permet ensuite de générer des documentations
|
|
|
|
|
|
TODO: à quoi il sert?
|
|
|
|
|
|
+#### (optionnel) Docker: `site_logiciels`
|
|
|
+
|
|
|
+Site internet présentant les logiciels de l'entreprise
|
|
|
+
|
|
|
+> Prod: logiciels.opentalent.fr
|
|
|
+
|
|
|
|
|
|
## Configuration du réseau
|
|
|
|
|
|
@@ -593,10 +574,8 @@ Ainsi configuré, le docker sera joignable sur le réseau interne à l'adresse `
|
|
|
| admin | admin | O | 172.20.1.2 | 3000:3000, 3001:3001 | local.admin.opentalent.fr / 3000 | - |
|
|
|
| app | app | O | 172.20.2.2 | 3002:3000, 3003:3003 | local.app.opentalent.fr / 3002 | - |
|
|
|
| app_v3 | app_v3 | O | 172.20.2.3 | 3009:3000, 24678:24678 | local.app-v3.opentalent.fr / 3000 | - |
|
|
|
-| frames | frames | O | 172.20.2.4 | 3004:3004, 3005:3005 | local.frames.opentalent.fr / 3004 | - |
|
|
|
-| agenda | agenda | O | 172.20.2.5 | 3007:3000, 24679:24679 | local.agenda.opentalent.fr / 3000 | - |
|
|
|
-| portail | portail | O | - | - | local.opentalent.fr | - |
|
|
|
-| portail_v2 | portail_v2 | O | 172.20.2.6 | 3010:3000, 24680:24680 | local.portail-v2.opentalent.fr / 3000 | - |
|
|
|
+| agenda | agenda | O | 172.20.2.5 | 3007:3000, 24679:24679 | local.agenda.opentalent.fr / 3000 | - |
|
|
|
+| site_logiciels | site_logiciels | O | 172.20.2.6 | 3010:3000, 24680:24680 | local.logiciels.opentalent.fr / 3000 | - |
|
|
|
| typo3 | typo3 | O | 172.20.3.1 | - | local.sub.opentalent.fr | docker.sub.opentalent.fr, docker.sub.customdomain.fr |
|
|
|
| adminassos | adminassos | O | - | - | local.v59.opentalent.fr | - |
|
|
|
| metabase | metabase | O | - | - | local.metabase.opentalent.fr / 3000 | - |
|
|
|
@@ -771,7 +750,7 @@ Faire, dans cet ordre précis:
|
|
|
|
|
|
sudo systemctl start docker
|
|
|
|
|
|
-#### Une application nuxt.js (app / frames) ne démarre pas : error 504 memory
|
|
|
+#### Une application nuxt.js (app / agenda / site_logiciels) ne démarre pas : error 504 memory
|
|
|
|
|
|
Vérifier que le fichier .env existe dans le projet. Sinon :
|
|
|
|