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

Latest commit

 

History

History
24 lines (19 loc) · 698 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 698 Bytes

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.