Skip to content

forskningsavd/mugshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mugshots.py

Flask app to note attendance at a Studiecirkel.

Requirements

Python, Flask, Redis, PyYAML

pip install Flask
pip install Flask-Redis
pip install PyYAML

Use Flask

Now using a template and a CSS and a favicon, and Jinja template language.

Start by e.g.

python mugshots.py debug

Setup

Initialize the secret key

echo "key=\"$(head -c 24 /dev/random | base64)\"" > secret_key.py

The database will be initialized when opening the index page the first time.

Redis

Run this command in redis-cli to reset the database:

flushdb

Reporting

The primary feature is the /report.

About

Record attendance at your workshops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published