Commit a51f183c authored by Frank Scholten's avatar Frank Scholten Committed by GitHub
Browse files

Merge pull request #16 from microservices-demo/documentation/commands

Improved README.md
parents 8f289fe6 a1d916b8
......@@ -5,11 +5,32 @@ A microservices-demo service that provides shopping carts for users.
This build is built, tested and released by travis.
# Build
## Java
`mvn -DskipTests package`
## Docker
`GROUP=weaveworksdemos COMMIT=test ./scripts/build.sh`
# Test
`./test/test.sh < python testing file >`. For example: `./test/test.sh unit.py`
# Build
`GROUP=weaveworksdemos COMMIT=test ./scripts/build.sh`
# Run
`mvn spring-boot:run`
# Check
`curl http://localhost:8081/health`
# Use
`curl http://localhost:8081`
# Push
`GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh`
`GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh`
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment