Updated README for building and starting WebGoat

This commit is contained in:
Nanne Baars 2017-03-23 22:00:52 +01:00
parent ed85c97306
commit 8500749dde

View File

@ -67,13 +67,13 @@ Now let's start by compiling the project.
```Shell ```Shell
cd WebGoat cd WebGoat
git checkout develop git checkout develop
mvn clean package mvn clean install
``` ```
Now we are ready to run the project. WebGoat 8.x is using Spring-Boot. Now we are ready to run the project. WebGoat 8.x is using Spring-Boot.
```Shell ```Shell
mvn -pl webgoat-assembly spring-boot:run mvn -pl webgoat-server spring-boot:run
``` ```
... you should be running webgoat on localhost:8080/WebGoat momentarily ... you should be running webgoat on localhost:8080/WebGoat momentarily
@ -99,9 +99,8 @@ On x86 you can build a container with the following commands:
```Shell ```Shell
cd WebGoat/ cd WebGoat/
mvn package mvn install
cd webgoat-server cd webgoat-server
mvn package
mvn docker:build mvn docker:build
docker tag webgoat/webgoat-8.0 webgoat/webgoat-8.0:8.0 docker tag webgoat/webgoat-8.0 webgoat/webgoat-8.0:8.0
docker login docker login
@ -125,9 +124,8 @@ When you have done this you can build the Docker container using the following c
```Shell ```Shell
cd WebGoat/ cd WebGoat/
mvn package mvn install
cd webgoat-container cd webgoat-server
mvn package
mvn docker:build -Drpi=true mvn docker:build -Drpi=true
docker tag webgoat/webgoat-8.0 webgoat/webgoat-8.0:8.0 docker tag webgoat/webgoat-8.0 webgoat/webgoat-8.0:8.0
docker login docker login