This is a light version of Zebra that allows users to log into their accounts, view their forms, and view the data in their forms. It uses the Clojure(Script) Ona client milia to connect to the Ona API. It connections to Ona Production by default but can be configured to connect to any server running Ona or an Ona-compatible API.
Remote host configuration is handled by milia using environ. Set the keys :ona-api-server-host
and :ona-api-server-protocol
to specify the host and protocol, respectively.
Building and running require java
and leiningen
, the install instructions for leiningen are here.
Run the development server with:
lein up
Build a deployable production JAR with:
lein uberjar
Then run that JAR with:
java -jar target/zebra-lite-SNAPSHOT-standalone.jar
NB: your JAR path may differ if you have altered the configuration.
zebra-lite is copyright 2015 Ona Systems Inc. and is released under the AGPL License.