This folder contains a JavaEE Web Application for launching Marmotta in any Servlet (>=3.0) container.
Further details at the src/main/doc/README.txt
file.
For building the WAR just execute:
mvn package
and you'll find the WAR file at target/marmotta.war
.
The build also provides supprt for Debian packages, just append the profile to the regular build command:
mvn package -Pdebian
and you can find the .deb
file under target/
.
It also comes with support for creating a Docker images that you can user for developing or testing:
docker build -t marmotta .
docker run -p 8080:8080 marmotta
If you want to further work with the container, here some basic instructions:
docker ps
(appending --filter "ancestor=marmotta
shows only the marmotta
images, -a
lists all)docker inspect CONTAINER_ID
docker stats [CONTAINERID]
docker commit [CONTAINERID] my-marmotta
docker stop [CONTAINERID]
docker start [CONTAINERID]
docker rm CONTAINER_ID
docker rm $(docker ps -a -q)
docker images
docker rmi IMAGE_ID
docker rmi $(docker images -q)
For further instructions, please take a look to the Docker User Guide.
@@TODO@@: push it to asf or docker hub