Skip to content

Projet de création d'une application de gestion d'intervention pour la caserne de Kembs

Notifications You must be signed in to change notification settings

ginkishi/eIntervention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eIntevention

npm License Angular


alt text

eIntervention est actuellement en développement !

Description

eIntervention est une application web réalisée en Angular 9.

Cette application est réalisée dans le cadre d'un projet de Master M1 MIAGE (Master en Méthodes Informatiques Appliquées à la Gestion des Entreprises).

Cette application à terme permettra à la caserne de pompier de Kembs, voire à d'autre caserne de pouvoir gérer leur intervention

Dependencies

Installation

Installation requirements

  • Angular >= 9
  • Nodejs >= 12.16.1
  • NPM >= 6.14.2
  • GIT

Clone repository

Clone with HTTPS

git clone https://github.com/Ginkishi/eIntervention.git

or Clone with SSH

git clone [email protected]:Ginkishi/eIntervention.git

Install node_module

$ cd app
npm install or npm i

Getting Started

  • Open a terminal
  • Go to eIntervention folder
  • Into eIntervention folder :
$ cd app
ng serve

Wait compilation ending...

Now the application is launched Go to http://localhost:4200

Deployement

  • Open a terminal
  • Go to eIntervention folder
  • Into eIntervention folder :
$ cd app
ng build --base-href /app/ --prod

with /app/ your baseurl (ex: http://localhost/app/) by default it was "/"
we use "http://localhost/eintervention/app/"

When the compilation is ended

Go to eIntevention/app/dist and copy/paste in your web server

Paste also an .htaccess file if you use apache server

<IfModule mod_rewrite.c>
	RewriteEngine On

 	# -- REDIRECTION to https (optional):
	# If you need this, uncomment the next two commands
	# RewriteCond %{HTTPS} !on
  	# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
	# --

	RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
	RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d

	RewriteRule ^.*$ - [NC,L]
	RewriteRule ^(.*) index.html [NC,L]
</IfModule>

Create a folder (ex: eIntervention) and inside

Create an "app" folder

Paste the contents of the "dist" folder into the "app" folder created previously

Then paste the "api" folder in your folder (ex: eIntervention)

For more help, see the deployment video in the "video" folder