Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Datenschule/pretty_session_protocols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

41b82b6 · Sep 3, 2017

History

42 Commits
Sep 3, 2017
Aug 6, 2017
Aug 6, 2017
Aug 13, 2017
Jul 31, 2017
Jul 3, 2017
Aug 4, 2017
Jul 31, 2017
Jul 31, 2017
Sep 3, 2017
Aug 4, 2017
Aug 4, 2017

Repository files navigation

Pretty session protocols

Installation

pip install -r requirement.txt

Running:

DATABSE_URL=<db_url> python views.py
#e.g.: DATABSE_URL=sqlite:////home/user/db.sqlite python views.py

You can set DEBUG=True before starting to enable debug mode. This is recommended for development. Do not do it in production though!

Docker

You can run this project with docker compose. It will create a instance for the database and one for the actual app.

docker-compose up

The postgres data will be stored in the local plpr-docker-database-data folder.

You can access the webapp by visiting http://localhost:8090. The database listens locally on port 32780.