Zoondka Maps is a simple mapping web app that displays a map using internal tiles from the rest of our stack @ maps.zoondka.com. (see zoondka/maps.zoondka.com for more details)
git clone https://github.com/zoondka/zoondka-maps.git
Zoondka Maps requires the Boot build framework for dev & production. See install.
With Boot installed, you can launch a http-kit server with Zoondka Maps served on http://localhost:8090 for use when developing:
cd zoondka-maps
boot dev
Changes to source are automatically recompiled.
For use in production, you can package the app & app server as an uberjar:
boot prod
Run the app like so:
/usr/bin/java -jar target/zoondka-maps.jar $PORT
Or install it as a systemd service:
mkdir /srv/zoondka-maps
cp target/zoondka-maps.jar /srv/zoondka-maps/
cp dist/zoondka-maps.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable zoondka-maps
sudo systemctl start zoondka-maps
You can list all available Boot tasks with boot -h
. Project specific tasks are defined in build.boot.