From 3947b797582fdc799f851ebb44eadffca66a30c7 Mon Sep 17 00:00:00 2001 From: jakobsn Date: Wed, 27 Nov 2019 12:52:52 +0100 Subject: [PATCH] fix dependencies and update readme --- README.md | 9 +++++++++ src/app/views/login.py | 4 +--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0933d39..400f2fc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,16 @@ webpy framework: http://webpy.org/ ### Prerequisites: docker https://www.docker.com/ +On linux docker is started with + +$ sudo systemctl start docker + +To run docker-compose without sudo the user must be added to the usergroup: + +https://docs.docker.com/install/linux/linux-postinstall/ + ### Build & Run + $ docker-compose up --build ### Prune/Recreate diff --git a/src/app/views/login.py b/src/app/views/login.py index 903fa31..1fec6a3 100644 --- a/src/app/views/login.py +++ b/src/app/views/login.py @@ -2,9 +2,7 @@ import web from views.forms import login_form import models.login from views.utils import get_nav_bar -import os, hmac, base64, pickle, hashlib -from io import StringIO -from deepdiff import DeepDiff +import os, hmac, base64, pickle # Get html templates render = web.template.render('templates/')