MARMOTTA-588: updated doc
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/1e63316f Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/1e63316f Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/1e63316f Branch: refs/heads/MARMOTTA-588 Commit: 1e63316f63484e1af6737d3b8e0a73ebe1dddf14 Parents: b605948 Author: Sergio Fernández <[email protected]> Authored: Thu Nov 12 14:53:27 2015 +0100 Committer: Sergio Fernández <[email protected]> Committed: Thu Nov 12 14:53:27 2015 +0100 ---------------------------------------------------------------------- launchers/marmotta-webapp/README.md | 35 +++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/1e63316f/launchers/marmotta-webapp/README.md ---------------------------------------------------------------------- diff --git a/launchers/marmotta-webapp/README.md b/launchers/marmotta-webapp/README.md index 9e45c2a..d1ace68 100644 --- a/launchers/marmotta-webapp/README.md +++ b/launchers/marmotta-webapp/README.md @@ -1,21 +1,32 @@ -# Apache Marmotta Docker launcher +# Apache Marmotta Webapp Launcher -This launcher creates a Docker images that you can user for developing or testing -Apache Marmotta. +This folder contains a JavaEE Web Application for launching Marmotta in any Servlet (>=3.0) container. -## Build image +## WAR - sudo docker build -t marmotta . +For building the WAR just execute: -## Get image + mvn package -@@TODO@@: push it to asf or docker hub +and you'll find the WAR file at `target/marmotta.war`. + +## Debian + +The build also provides supprt for Debian packages, just append the profile to the regular build command: + + mvn package -Pdebian -## Run +and you'll find the `.deb` file `target/`. - docker run -p 8080:8080 +## Docker -## Accesss +It also comes witth support for creating a Docker images that you can user for developing or testing +Apache Marmotta. + +* Build image: `docker build -t marmotta .` +* Run the image: `docker run -p 8080:8080 marmotta` +* Access Marmotta at [localhost:8080/marmotta](http://localhost:8080/marmotta) (IP address may be different, + use `docker inspect CONTAINER_ID` for details). + +@@TODO@@: push it to asf or docker hub -Access Marmotta runing inside the container, at [172.17.42.1:8080/marmotta](http://172.17.42.1:8080/marmotta) -(IP address may be different, use `docker inspect CONTAINER_ID` for details).
