aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorelonen <elonen@iki.fi>2015-08-08 11:40:09 +0300
committerelonen <elonen@iki.fi>2015-08-08 11:40:09 +0300
commit9d3564a23d413861deeb3996f93bcc5dc5aa7827 (patch)
tree86a1f7fff0bd4eda447c22e9c0cc16165c248e80 /README.md
parent23529ea639a36e83142e987ee4239549419a4417 (diff)
downloadnanohttpd-9d3564a23d413861deeb3996f93bcc5dc5aa7827.tar.gz
Update README.md
Added even quicker start with SimpleWebServer
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
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 <http://localhost:8080/>.
+
+### 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