Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Record attendance at your workshops

tree: d8cc6ce9ae

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 static
Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 __init__.py
Octocat-spinner-32 mugshots.py
Octocat-spinner-32 mugshots.wsgi
README.md

mugshots.py

Flask app to note attendance at a Studiecirkel.

Requirements

Python, Flask, Redis

pip install Flask
pip install Flask-Redis

Use Flask

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

Start by e.g.

python mugshots.py

Setup

Initialize the secret key

head -c 24 /dev/random | base64 > secret_key.txt

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.

Something went wrong with that request. Please try again.