DHIS 2.0 demo
This is a quick way to set up a demo (with demo data) of DHIS 2.0 locally. It uses a pre-built war file meaning you cannot do modifications like e.g. changing the database server. This demo uses the in-memory database server HSQLDB and the web server Jetty.
If you want to install DHIS 2 instead see installing DHIS 2.
Prepare your local system
Install the Java platform
Download Java(TM) Software Development Kit (SDK), Standard Edition from http://java.sun.com/javase/downloads/index.jsp
JAVA_HOME has to be set and added to your $PATH (usually automatically done on Windows).
Install and prepare the servlet container and HTTP server (Jetty)
1. Download the latest Jetty version from:
http://sourceforge.net/project/showfiles.php?group_id=7322&package_id=106252
2. Unzip it to the desired installation directory (here <Jetty install folder> is used to refer to this folder).
Run the application
- Download the latest demo war file from the download page} (e.g. dhis-2.0-M7.1-demo.war). Save the file to <Jetty install folder>/webapps
- Run Jetty with DHIS 2.0
In <Jetty installation folder> type the following command:
- Open your favourite browser (Firefox is recommended) with the following url:
http://localhost:8090