This is an implementation of the Opbeans Demo app in Django. It uses the same database schema as the Node version.
The database settings are provided via environment variable, like so:
DATABASE_URL=postgres://user:password@host:port/dbname ./manage.py runserver
There's a compressed SQLite database in the demo
directory. You can run it like this:
bunzip2 -k demo/db.sql.bz2
./manage.py collectstatic
DATABASE_URL=sqlite://./demo/db.sql ./manage.py runserver
There's an admin user, barista
/affogato
.