From edc57f1b5a4f40e767a2333cd290032517d34a55 Mon Sep 17 00:00:00 2001
From: Myriam Leggieri <iammyr@users.noreply.github.com>
Date: Wed, 17 Jun 2015 10:00:03 +0100
Subject: [PATCH] Instructions for manual deployment

Include instructions for developers on how to manually deploy the project in tomcat. In particular, it wouldn't be immediate otherwise, to figure out that it is necessary to clone WebGoat-Lessons first. Otherwise the app would be stuck on the login page.
---
 README.txt | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/README.txt b/README.txt
index e9bd23827..71f06cd54 100644
--- a/README.txt
+++ b/README.txt
@@ -76,18 +76,30 @@ Follow These instructions if you wish to run Webgoat and modify the source code
 Building the project (Developers)
 ---------------------------------
 
-Using a command shell/window:
-
 > cd webgoat
 > mvn clean package
 
-After opening the project in Netbeans or Eclipse, you can easily run the project using maven:
+After opening the project in Netbeans or Eclipse, you can easily run the project using: 
+
+1. Maven-Tomcat Plugin
+Using a command shell/window:
 
 > mvn tomcat:run-war
 
 Maven will run the project in an embedded tomcat.
 
+
+2. Java JAR
 the package phase also builds an executable jar file. You can run it using:
 cd target
 java -jar WebGoat-6.0-exec-war.jar
 http://localhost:8080/WebGoat
+
+
+3. Tomcat
+the package phase also builds a war file. You can deploy it using:
+cp target/WebGoat-6.0-exec-war.war <tomcat>/webapps/
+Then also clone https://github.com/WebGoat/WebGoat-Lessons run:
+cd WebGoat-Lessons
+mvn package
+cp plugins/* <tomcat>/webapps/WebGoat-6.0-exec-war/plugin_lessons/