From caae3944492b43e470babc500b913e285bf1ea88 Mon Sep 17 00:00:00 2001 From: Jari Wiik Date: Thu, 16 Nov 2023 22:46:25 +0200 Subject: Fix lock-up situation when database gets zapped while session is still on --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index ef15820..1662d8f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # kyselma Kyselmä - kysele, vastaile ja tutki tuloksia +TO GET IT RUNNING: +Install flask, psycopg, postresql, sqlalchemy (as in course material) +$ git clone https://github.com/triionhe/kyselma.git +$ psql -U postgres < SCHEMA.sql (Be careful with '-U postgres' or edit app.py!) +$ SECRET_KEY=923987295 flask run + + DONE: - Voi lisätä kyselyn - Kysymyksen mukana lisätään vastaus -- cgit v1.2.3