pip install -r requirement.txt
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!
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.