Skip to content

southlondonmakerspace/slms-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

South London Makerspace dashboard

The purpose of this software is to provide a dashboard for display within the South London Makerspace

It will ideally include:

  • Train/Bus departures from nearby
  • Latest event from the membership system (door opening, for example)
  • Latest discussions on Discourse
  • ???
  • profit

Configuration

We're using the oldskool method of a config.js file to do the configuration. You'll need to create this before you run it. There's an example shown in config.example.js (just rename it to config.js and edit it). It should look something like this:

     module.exports = {
        'httpPort': 3000,
         'nrSecurityToken': 'xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx', // this is a security token from OpenLDBWS
         'nrLDBWSurl': 'https://lite.realtime.nationalrail.co.uk/OpenLDBWS/wsdl.aspx?ver=2016-02-16', // this is the SOAP endpoint for LWDB
         'tfl': {
           'appId': 'xxxxx',
           'appKey': 'xxxxx'
        },
         'lat': 51.451860, // latitude and longitude of the space
         'lon': -0.100861,
         'stationCRS': 'HNH',// this is the CRS code of the station you want to display the departure board for
         'icalAddress': 'https://calendar.google.com/calendar/ical/6hnjp743rq7omi2qfr3fa873ug%40group.calendar.google.com/public/basic.ics'
     }

Installing

You'll need bower, as well.

     npm install
     bower install

Running

You can run this by doing the following:

     npm start

You can then access the UI using http://localhost:3000/

About

A dashboard display for the South London Makerspace

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published