dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03741
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1239: Added utility script which copies the dhis.war file from the portal, updates the dhis-live packag...
------------------------------------------------------------
revno: 1239
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-12-17 10:06:48 +0100
message:
Added utility script which copies the dhis.war file from the portal, updates the dhis-live package and starts it. Live and source code home folder is configurable.
added:
dhis-live/util/script/live.sh
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== added file 'dhis-live/util/script/live.sh'
--- dhis-live/util/script/live.sh 1970-01-01 00:00:00 +0000
+++ dhis-live/util/script/live.sh 2009-12-17 09:06:48 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+DHIS2_LIVE_HOME=~/development/dhis2-live
+DHIS2_SOURCE_HOME=~/development/src/dhis2
+
+rm -rf ${DHIS2_LIVE_HOME}/webapps/dhis
+mkdir ${DHIS2_LIVE_HOME}/webapps/dhis
+unzip ${DHIS2_SOURCE_HOME}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war -d ${DHIS2_LIVE_HOME}/webapps/dhis
+java -jar ${DHIS2_LIVE_HOME}/dhis2-live.jar
+
Follow ups