From 7bf86fa12e2e971615d579c7bede182d71346a6c Mon Sep 17 00:00:00 2001
From: Alexandre Vanini <vanini.alexandre@gmail.com>
Date: Wed, 15 May 2019 16:18:36 +0200
Subject: [PATCH] [READMEMD]

---
 README.md | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/README.md b/README.md
index 911fcd1..8f250fb 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,89 @@
 # Dojo Hepia
 
+## RUN ME - DojoHepia
+
+### prerequisites
+
+<p>MAVEN</p>
+<p>DOCKER</p>
+<p>DOCKER-COMPOSE</p>
+<p>ANGULAR CLI</p>
+
+#### Client
+
+>./client/
+```
+npm install
+ng serve --open
+```
+
+#### Gateway
+>./gateway/
+```
+mvn package
+mvn exec:java
+```
+
+#### Compilateur
+>./compilation/
+```
+mvn package
+mvn exec:java
+```
+
+##### Create java container
+
+>./compilation/docker/java
+```
+docker build . -t java:1.0
+```
+
+##### Create python container
+
+>./compilation/docker/python
+```
+docker build . -t python:1.0
+```
+
+#### MongoDB
+
+##### Create container
+
+>./mongodb/
+```
+docker-compose up -d
+```
+
+##### Create user
+
+>./mongodb/
+```
+docker-compose exec mongo mongo admin -u root
+password : example
+```
+
+insert the following command :
+
+```
+db.createUser(
+  {
+    user: "shodai",
+    pwd: "shodai",
+    roles: [
+       { role: "readWrite", db: "DojoHepia" }
+    ]
+  }
+)
+```
+
+##### Importing data
+<p>If you want to popularize the database with programs and katas, you can insert the following file in the mongo db database</p>
+
+>./mongodb/data/programs
+>./mongodb/data/programssubscription
+
+<p>to import </p>
+
 ## Vocabulaire
 | Art - Martial | Dojo Hepia       |
 |---------------|------------------|
-- 
GitLab