Skip to content

Commit

Permalink
rfac: readme backend test
Browse files Browse the repository at this point in the history
rfac: readme.md
  • Loading branch information
yp969803 committed Apr 21, 2024
1 parent 322c421 commit d4bc1ef
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,41 @@ git clone https://github.com/mdgspace/Tracer.git
```
cd Tracer
```
### Start postgres and redis servers
#### Start postgres and redis servers

### Create postgresql user, password and database
#### Create postgresql user, password and database

### Create env.sh from env.sh.example
#### Create env.sh from env.sh.example


### Install node-modules
#### Install node-modules
```
npm ci
```
### Run Frontend
#### Run Frontend

```
source env.sh
cd frontend
npm start
```

### Run backend
#### Run backend

```
source env.sh
cd backend
mvn spring-boot:run -DskipTests
```

### Testing
#### Testing

Tests for backend is written ./src/test Directories

#### Run tests
#### Run backend tests

```
cd backend
mvn test
```

Expand All @@ -83,9 +84,9 @@ git clone https://github.com/mdgspace/Tracer.git
cd Tracer
```

### Create env.list file using env.list.example
#### Create env.list file using env.list.example

### Run docker compose
#### Run docker compose
```
docker compose up
```
Expand Down

0 comments on commit d4bc1ef

Please sign in to comment.