| @@ -9,7 +9,16 @@ webpy framework: http://webpy.org/ | |||||
| ### Prerequisites: | ### Prerequisites: | ||||
| docker https://www.docker.com/ | 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 | ### Build & Run | ||||
| $ docker-compose up --build | $ docker-compose up --build | ||||
| ### Prune/Recreate | ### Prune/Recreate | ||||
| @@ -2,9 +2,7 @@ import web | |||||
| from views.forms import login_form | from views.forms import login_form | ||||
| import models.login | import models.login | ||||
| from views.utils import get_nav_bar | 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 | # Get html templates | ||||
| render = web.template.render('templates/') | render = web.template.render('templates/') | ||||