# HG changeset patch # User Tom Gottfried # Date 1446030862 -3600 # Node ID 6a24f01bdaac795b796280ef1c60ae0ec2a9f788 # Parent cb841ed21405e566648ba5cad7ed3302cdd39a6b Improve install doc. diff -r cb841ed21405 -r 6a24f01bdaac Dockerfile --- a/Dockerfile Wed Oct 28 11:05:28 2015 +0100 +++ b/Dockerfile Wed Oct 28 12:14:22 2015 +0100 @@ -71,7 +71,7 @@ # RUN mvn clean compile package RUN mv target/lada-server-2.2.0.war $JBOSS_HOME/standalone/deployments -RUN touch $JBOSS_HOME/standalone/deployments/lada-server.war.dodeploy +RUN touch $JBOSS_HOME/standalone/deployments/lada-server-2.2.0.war.dodeploy # # This will boot WildFly in the standalone mode and bind to all interface diff -r cb841ed21405 -r 6a24f01bdaac README.markdown --- a/README.markdown Wed Oct 28 11:05:28 2015 +0100 +++ b/README.markdown Wed Oct 28 12:14:22 2015 +0100 @@ -37,18 +37,20 @@ Installation ------------ -Zur Installation der Lada-Anwendung müssen folgende Schritte unternommen werden: +Die Installation des Lada-Servers erfolgt in einem Wildfly-Application-Server +(http://wildfly.org). Dazu müssen folgende Schritte unternommen werden: $ mvn clean compile package - $ cd /opt/wildfly8.2.Final/standalone/deployments - $ cp /path/where/the/war/file/is/lada-server.war . - $ touch lada-server.war.dodeploy + $ mv target/lada-server-$VERSION.war $JBOSS_HOME/standalone/deployments + $ touch $JBOSS_HOME/standalone/deployments/lada-server-$VERSION.war.dodeploy -Zum Aktualisieren der Anwendung genügt es, wenn die lada-server.war Datei aktualisiert -wird. +$JBOSS_HOME ist hierbei durch den Pfad zur Wildfly-Installation zu ersetzen, +$VERSION durch die aktuelle Versionsbezeichnung (entsprechend der Angabe in +pom.xml). -Die Anwendung ist dann unter dem Pfad "/lada-server" (abhängig vom Archivnamen) -erreichbar. +Zum Aktualisieren der Anwendung genügt es, das WAR-Archiv zu aktualisieren. + +Die Anwendung ist dann unter dem Pfad "/lada-server-$VERSION" erreichbar. Tests -----