# HG changeset patch # User Robert Casties # Date 1511193568 -3600 # Node ID 68f65786003eca56c38dfe8c734055c9639714ca # Parent 22dd14eccdc0489400c6354e427efebcf414d735 Add jetty plugin to pom.xml and "mvn jetty:run" to README.md diff -r 22dd14eccdc0 -r 68f65786003e README.md --- a/README.md Tue Nov 14 18:41:22 2017 +0100 +++ b/README.md Mon Nov 20 16:59:28 2017 +0100 @@ -33,6 +33,31 @@ or on [SourceForge](https://sourceforge.net/projects/digilib/) * [Source code](https://github.com/robcast/digilib) +* [Issue tracker](https://github.com/robcast/digilib/issues) * Daily built [WAR files](https://it-dev.mpiwg-berlin.mpg.de/downloads/digilib/daily-build/) * Daily built [Javadoc](https://it-dev.mpiwg-berlin.mpg.de/downloads/digilib/daily-build/javadoc/) * [Maven repository](http://it-dev.mpiwg-berlin.mpg.de/maven-repo/) + +## How do I run digilib? + +Requirements: +* [git](https://git-scm.com/) +* [Java JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +* [Maven](https://maven.apache.org/) + +Build: +1. Clone the digilib repository + + `git clone https://github.com/robcast/digilib.git` + +2. Change to the repository + + `cd digilib` + +3. build and run the webapp in the embedded Jetty runtime for development + + `mvn jetty:run --projects webapp` + + and watch digilib at http://localhost:8080/digilib.html + +or follow the production build instructions in the on https://robcast.github.io/digilib/ diff -r 22dd14eccdc0 -r 68f65786003e pom.xml --- a/pom.xml Tue Nov 14 18:41:22 2017 +0100 +++ b/pom.xml Mon Nov 20 16:59:28 2017 +0100 @@ -13,7 +13,7 @@ digilib The Digital Image Library - https://github.com/robcast/digilib + https://robcast.github.io/digilib/ 2001 @@ -76,8 +76,8 @@ - scm:git:git://github.com/robcast/digilib.git - scm:git:https:github.com:robcast/digilib.git + scm:git:https://github.com/robcast/digilib.git + scm:git:ssh://git@github.com/robcast/digilib.git https://github.com/robcast/digilib diff -r 22dd14eccdc0 -r 68f65786003e webapp/pom.xml --- a/webapp/pom.xml Tue Nov 14 18:41:22 2017 +0100 +++ b/webapp/pom.xml Mon Nov 20 16:59:28 2017 +0100 @@ -192,6 +192,12 @@ --> + + + org.eclipse.jetty + jetty-maven-plugin + 9.2.22.v20170606 + @@ -386,13 +392,13 @@ org.eclipse.jetty jetty-servlet - 9.2.13.v20150730 + 9.2.22.v20170606 test org.eclipse.jetty jetty-http - 9.2.13.v20150730 + 9.2.22.v20170606 test