Skip to content

weimarnetz/hopglass.weimarnetz.de

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •