aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarno Elonen <elonen@iki.fi>2015-08-08 12:35:58 +0300
committerJarno Elonen <elonen@iki.fi>2015-08-08 12:35:58 +0300
commit38c1eb8f963c3e4756b103a9066740f98f14fd37 (patch)
treef5119114badf30feecb2e73dcd83fd34ed5d68da
parent0760946bcdaf5b41827c9aa2fcfae4326b788265 (diff)
parent9d3564a23d413861deeb3996f93bcc5dc5aa7827 (diff)
downloadnanohttpd-38c1eb8f963c3e4756b103a9066740f98f14fd37.tar.gz
Merge branch 'master' of https://github.com/NanoHttpd/nanohttpd
-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