Skip to content
Snippets Groups Projects
Commit 7bf86fa1 authored by Alexandre Vanini's avatar Alexandre Vanini
Browse files

[READMEMD]

parent 0f089cc3
No related branches found
No related tags found
No related merge requests found
# 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 |
|---------------|------------------|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment