Here's how you get Open Data Kit Hamsterball client up and running locally.
It is assumed you have working knowledge of Git, Maven, and Tomcat.
- Open Data Kit Hamster Web Service
- Maven 3.3.3 or above
- Java 8
ODK Hamster Web Service installation instructions are here.
git clone git@github.com:benetech/odk-hamsterball-java.git
From the odk-hamsterball-java directory, run:
mvn clean install -DskipTests
If you'd rather run unit tests:
mvn clean install
The first unit tests are in progress so there may not be much difference between the two commands.
The code runs by default at port 8090, so that you can run it on the same server as odk-hamster, which uses port 8080 by default. You may want to disable any other services you're running that are using port 8090 at this time.
Start the web client:
java -jar target/*.jar
Optionally, if you must run on another port, add the following line to odk-hamsterball-java/src/main/resources/application-default.properties
where 9009
is a port you know to be free.
server.port=9009
The service will be launched by default at http://localhost:8090. There should be a login page.
The default login information is username: admin
, password: aggregate
.
Do you want to run this web service inside a Docker container? Read the Docker container instructions.
Do you want to see this project in Eclipse? Read the IDE instructions.