Skip to content

zoondka/zoondka-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zoondka-maps

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)

Installing

git clone https://github.com/zoondka/zoondka-maps.git

Building

Zoondka Maps requires the Boot build framework for dev & production. See install.

Dev

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.

Production

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

Etc

You can list all available Boot tasks with boot -h. Project specific tasks are defined in build.boot.