Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.14 KB

hopglass.weimarnetz.de

Hopglass Setup - siehe auch https://github.com/freifunk-berlin/hopglass.berlin.freifunk.net

Setup

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

Crontab

# /etc/crontab 
*/5 *   * * *   hopglass /home/hopglass/owm2ffmap/run_owm2ffmap.sh

Setup Hopglass

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