Skip to content

spurll/lunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunch Voter

A Python 3/Flask voting system that makes use of a basic scoring (voting) method to select a restaurant to order lunch from or a game to play (or any number of other things). Can also send reminders and results via Slack messages. Authentication is done via LDAP (so you'll need access to an LDAP server), and votes are stored in an SQLite DB.

Usage

Requirements

  • flask
  • flask-login
  • flask-wtf
  • flask-sqlalchemy
  • sqlalchemy
  • ldap3
  • slackutils

Configuration

Before starting the server for the first time, run db_create.py.

Starting the Server

Start the server with run.py. By default it will be accessible at localhost:9999. To make the server world-accessible or for other options, see run.py -h.

Bugs and Feature Requests

Feature Requests

None

Known Bugs

  • The "Remember Me" option on the login page doesn't seem to work anymore.
  • The "Reset" button on the voting page doesn't update the numeric label fields and causes strange behaviour with the JavaScript that does category-wide updates.

Special Thanks

The web.py version was ported to Flask with the help of Miguel Grinberg's excellent mega-tutorial.

License Information

Written by Gem Newman. GitHub | Blog | Twitter

This work is licensed under Creative Commons BY-NC-SA 3.0.

Fork-and-knife icon by Freepik from Flaticon, licensed under Creative Commons BY 3.0.

About

A web service that allows people to vote on what lunch they'd like to eat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published