Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

miguelmota/lunch-wheel

Repository files navigation

Lunch Wheel

A lunch wheel for when you can't decide.

Demo

https://lab.miguelmota.com/lunch-wheel

Example showing the button

Current retro theme

Requirements

Install

npm install -g lunch-wheel

Usage

Run server

$ lunch-wheel

Then head over to http://localhost:9090/

Update segments

Open up the console and do:

window.lunchWheel.segments(['Burgers', 'Tacos', 'Ramen', 'Burritos', 'Seafood', 'Salad'])

Update wheel name

Open up the console and do:

window.lunchWheel.name(['Dinner Wheel'])

Development

Build client scripts

npm run watch

FAQ

  • Q: It isn't detecting my big red button!

    • A: Plug in the USB first and then restart server.
  • Q: It's not detecting the button on Linux!

    • A: You might have to run as root. Take a look at the big-red-button repo for more help info.

License

MIT