diff options
author | elonen <elonen@iki.fi> | 2015-08-08 11:40:09 +0300 |
---|---|---|
committer | elonen <elonen@iki.fi> | 2015-08-08 11:40:09 +0300 |
commit | 9d3564a23d413861deeb3996f93bcc5dc5aa7827 (patch) | |
tree | 86a1f7fff0bd4eda447c22e9c0cc16165c248e80 /README.md | |
parent | 23529ea639a36e83142e987ee4239549419a4417 (diff) | |
download | nanohttpd-9d3564a23d413861deeb3996f93bcc5dc5aa7827.tar.gz |
Update README.md
Added even quicker start with SimpleWebServer
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |