Updated README for building and starting WebGoat
This commit is contained in:
parent
ed85c97306
commit
8500749dde
12
README.MD
12
README.MD
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user