Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit a51f183

Browse files
Merge pull request #16 from microservices-demo/documentation/commands
Improved README.md
2 parents 8f289fe + a1d916b commit a51f183

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,32 @@ A microservices-demo service that provides shopping carts for users.
55

66
This build is built, tested and released by travis.
77

8+
# Build
9+
10+
## Java
11+
12+
`mvn -DskipTests package`
13+
14+
## Docker
15+
16+
`GROUP=weaveworksdemos COMMIT=test ./scripts/build.sh`
17+
818
# Test
19+
920
`./test/test.sh < python testing file >`. For example: `./test/test.sh unit.py`
1021

11-
# Build
12-
`GROUP=weaveworksdemos COMMIT=test ./scripts/build.sh`
22+
# Run
23+
24+
`mvn spring-boot:run`
25+
26+
# Check
27+
28+
`curl http://localhost:8081/health`
29+
30+
# Use
31+
32+
`curl http://localhost:8081`
1333

1434
# Push
15-
`GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh`
35+
36+
`GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh`

0 commit comments

Comments
 (0)