This project should be compiled with sbt or a sbt compatible IDE
To have the app running:
- Create the assembly with
sbt assembly
. - Use
./local-install.sh
with your app folder to install the jar. - Create the
Hotspot.conf
file in the conf folder of your app use the example at the root of the project. - Copy the file in your apps folder (
/var/hfactory/apps
in the Azure HFactory Tools Sandbox). Use hfactory-env.sh putApp if you use the docker-machine script. - Start HBase
- Start the HFactory server
- Create the tables through the administration page of the server
- Start the Hotspot application
- Use feed.sh from the Hotspot folder to feed the Paris Hotspot data:
./feed.sh
You can specify another data file and a different host and port with the following command line:
./feed.sh json_file http://host:port
And you are ready to go.
For displaying the results this project uses OpenLayers and OpenStreetMap
parisHotspot.json was converted from Open Data Paris data and are under the following license
shopHannover.json was converted from Open Street Map and queried through Overpass turbo. The data is made available under ODbL.
parisHotspot.json was converted from Open Street Map and queried through Overpass turbo. The data is made available under ODbL.