Hopglass Setup - siehe auch https://github.com/freifunk-berlin/hopglass.berlin.freifunk.net
- hopglass - https://github.com/hopglass/hopglass
- owm2ffmap
owm2ffmap.py
- polls the OpenWifiMap-Server and creates the data files for Hopglass.
Hopglass is a static JavaScript app that displays the map and data.
run_owm2ffmap.sh
- script for cron
# /etc/crontab
*/5 * * * * hopglass /home/hopglass/owm2ffmap/run_owm2ffmap.sh
We only use the hopglass webclient - not the hopglass-server.
You need a recent nodejs + npm (tested on 8.x)
Add a user (only for deployment if you want to) and build hopglass:
# adduser --disabled-password --shell /bin/nologin hopglass
# sudo -u hopglass /bin/bash
$ git clone https://github.com/hopglass/hopglass
$ cd hopglass; npm install && npm install grunt-cli
$ ./node_modules/.bin/grunt
Apache config here.
Hopglass Config here