From 9d3564a23d413861deeb3996f93bcc5dc5aa7827 Mon Sep 17 00:00:00 2001 From: elonen Date: Sat, 8 Aug 2015 11:40:09 +0300 Subject: Update README.md Added even quicker start with SimpleWebServer --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6f7f439..80ef93c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,15 @@ It is being developed at Github and uses Apache Maven for builds & unit testing: We'll create a custom HTTP server project using Maven for build/dep system. This tutorial assumes you are using a Unix variant and a shell. First, install Maven and Java SDK if not already installed. Then run: + mvn compile + mvn exec:java -pl webserver -Dexec.mainClass="fi.iki.elonen.SimpleWebServer" + +You should now have a HTTP file server running on . + +### Custom web app + +Let's raise the bar and build a custom web application next: + mvn archetype:generate -DgroupId=com.example -DartifactId=myHellopApp -DinteractiveMode=false cd myHellopApp -- cgit v1.2.3