Name

dhis2-deploy-war — Deploys a war file

Synopsis

/usr/bin/dhis2-deploy-war [ OPTIONS ] instance name

OPTIONS

-t

Deploy war from latest trunk build. NOT RECOMMENDED for production systems

-l

Deploy war located at a custom url

-f

Deploy war from a file on the filesystem

Description

Deploys a dhis2 war file to the instance. The default behaviour when no options are given is to download and deploy the latest stable release from http://stable.dhis2.org.

Examples

dhis2-deploy-war myInstance deploys the latest stable release from dhis2.org into myInstance.

dhis2-deploy-war -f wars/dhis.war myInstance deploys the war file at wars/dhis.war into myInstance.

dhis2-deploy-war -t myInstance deploys the latest trunk build from the dhis2 team integration server into myInstance. Don't use this in production.

dhis2-deploy-war -l http://mywars.org/dhis.war myInstance deploys the war file from a user provided url into myInstance.