← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] (no subject)

 

There is a small bash script which I know at least Lars and I use,
which automates this process of deleting, unzipping etc.  Handy during
development when you quickly want to deploy a new war on to dhis-live.
 But others might find different ways to use it.  I've attached it
here.  It is really basic so could pretty easily be turned into a
windoze bat file.  Probably using unzip.exe from www.info-zip.org.

On 3 November 2011 09:23, John Ojo <jnojo@xxxxxxxxx> wrote:
> Hi Knut,
> I have successfully updated DHIS2 following your instructions. Worked like
> magic!
> Thank you so much.
> John.
>
> ________________________________
> From: Knut Staring <knutst@xxxxxxxxx>
> To: John Ojo <jnojo@xxxxxxxxx>
> Cc: Lars Helge Øverland <larshelge@xxxxxxxxx>;
> "dhis2-users@xxxxxxxxxxxxxxxxxxx" <dhis2-users@xxxxxxxxxxxxxxxxxxx>; DHIS
> developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> Sent: Thursday, November 3, 2011 8:30 AM
> Subject: Re: [Dhis2-users] (no subject)
>
> Hi Jjohn,
>
> You can very easily update DHIS2 Live yourself:
>
> As you have already noted, the DHIS2 Live application does not change
> much, just the version of DHIS2 that is included.
>
> 1) Stop DHIS2 Live
> 2) Go to your dhis-live\webapps\dhis folder and delete everything
> 3) Download the newest dhis2.war file from http://dhis2.org/downloads
> and put it in the newly emptied folder above
> 4) Rename the file to dhis2.zip and unzip it
>
> You have now updated DHIS2 Live.
>
>
> Knut
> PS You can also get the very latest build of trunk from the following
> link, but it is not an official release and has not been properly
> tested.
> http://apps.dhis2.org/ci/job/dhis-web-trunk/lastSuccessfulBuild/artifact/dhis-2/dhis-web/dhis-web-portal/target/dhis.war
>
> 2011/11/2 John Ojo <jnojo@xxxxxxxxx>:
>> Hi Lars,
>> Please when can we expect to see the definitive version 2.5 of DHIS 2
>> Live.
>> The current version from the DHIS2 download site is the 2.5-SNAPSHOT
>> version.
>> I ask this in view of the modifications earlier announced as haven been
>> effected in the DHIS 2 WAR-file version 2.5 since its release.
>> Thank you.
>> John.
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
>
> --
> Knut Staring
> Informatics, U. of Oslo
> http://hisp.uio.no
> +4791880522
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Attachment: update.sh
Description: Bourne shell script


Follow ups

References