From 70607721faa50e23ab4e41767ca6b268974663b2 Mon Sep 17 00:00:00 2001 From: Clement FERRERE Date: Mon, 2 May 2022 09:41:10 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9solution=20probl=C3=A8me=20build=20docke?= =?UTF-8?q?r=20+=20cr=C3=A9ation=20et=20organisation=20des=20fichiers=20de?= =?UTF-8?q?=20la=20p=C3=A9riode=20d'essai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- src/app/app-routing.module.ts | 4 ++++ src/app/app.module.ts | 4 ++++ .../periode-essai-edit.component.html | 1 + .../periode-essai-edit.component.scss | 0 .../periode-essai-edit.component.ts | 15 +++++++++++++++ .../periode-essai/periode-essai.component.html | 1 + .../periode-essai/periode-essai.component.scss | 0 .../periode-essai/periode-essai.component.ts | 15 +++++++++++++++ 9 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html create mode 100644 src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.scss create mode 100644 src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts create mode 100644 src/app/components/periode-essai/periode-essai.component.html create mode 100644 src/app/components/periode-essai/periode-essai.component.scss create mode 100644 src/app/components/periode-essai/periode-essai.component.ts diff --git a/Dockerfile b/Dockerfile index c335dd9..d1fa907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,10 @@ RUN mkdir -p /app WORKDIR /app -COPY package.json /app +COPY . /app RUN npm install -COPY . /app - RUN npm run build --prod # Stage 2 diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index bc510c2..4305101 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,6 +7,8 @@ import {AgenceComponent} from "./components/agence/agence.component"; import {AgenceEditComponent} from "./components/agence/agence-edit/agence-edit.component"; import {BusinessunitComponent} from "./components/businessunit/businessunit.component"; import {BusinessunitEditComponent} from "./components/businessunit/businessunit-edit/businessunit-edit.component"; +import {PeriodeEssaiComponent} from "./components/periode-essai/periode-essai.component"; +import {PeriodeEssaiEditComponent} from "./components/periode-essai/periode-essai-edit/periode-essai-edit.component"; const routes : Routes = [ {path:'', redirectTo:'/home', pathMatch:'full'}, @@ -17,6 +19,8 @@ const routes : Routes = [ { path: 'agences/:id', component: AgenceEditComponent, data:{title:'Agences'} }, { path:'businessunits',component:BusinessunitComponent, data:{title:'BusinessUnits'} }, { path: 'businessunits/:id', component: BusinessunitEditComponent, data:{title:'BusinessUnits'} }, + { path:'periodeessais',component:PeriodeEssaiComponent, data:{title:'Periodes d\'Essai'} }, + { path: 'periodeessais/:id', component: PeriodeEssaiEditComponent, data:{title:'Periodes d\'Essai'} }, ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 80a8990..61af15d 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -13,6 +13,8 @@ import { AgenceComponent } from './components/agence/agence.component'; import { AgenceEditComponent } from './components/agence/agence-edit/agence-edit.component'; import { BusinessunitComponent } from './components/businessunit/businessunit.component'; import { BusinessunitEditComponent } from './components/businessunit/businessunit-edit/businessunit-edit.component'; +import { PeriodeEssaiComponent } from './components/periode-essai/periode-essai.component'; +import { PeriodeEssaiEditComponent } from './components/periode-essai/periode-essai-edit/periode-essai-edit.component'; @NgModule({ declarations: [ @@ -24,6 +26,8 @@ import { BusinessunitEditComponent } from './components/businessunit/businessuni AgenceEditComponent, BusinessunitComponent, BusinessunitEditComponent, + PeriodeEssaiComponent, + PeriodeEssaiEditComponent, ], imports: [ diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html new file mode 100644 index 0000000..59a58c9 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html @@ -0,0 +1 @@ +

periode-essai-edit works!

diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.scss b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts new file mode 100644 index 0000000..ec7064a --- /dev/null +++ b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-periode-essai-edit', + templateUrl: './periode-essai-edit.component.html', + styleUrls: ['./periode-essai-edit.component.scss'] +}) +export class PeriodeEssaiEditComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/components/periode-essai/periode-essai.component.html b/src/app/components/periode-essai/periode-essai.component.html new file mode 100644 index 0000000..4e9f785 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai.component.html @@ -0,0 +1 @@ +

periode-essai works!

diff --git a/src/app/components/periode-essai/periode-essai.component.scss b/src/app/components/periode-essai/periode-essai.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/periode-essai/periode-essai.component.ts b/src/app/components/periode-essai/periode-essai.component.ts new file mode 100644 index 0000000..20fab35 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-periode-essai', + templateUrl: './periode-essai.component.html', + styleUrls: ['./periode-essai.component.scss'] +}) +export class PeriodeEssaiComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}