From 03b031ea793e91ce2f87cf28c73cefc8ce69a7b5 Mon Sep 17 00:00:00 2001 From: Lilian Teronen Date: Mon, 27 Nov 2023 01:37:03 +0200 Subject: More rework on routes. Best and worst matches. More visuals. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f42950e..a8f767b 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,14 @@ Install poetry if nessesary. (refer your distro) - $ pip install --user poetry - $ pipx install poetry -Clone the source, get tables ready & install poetry dependencies +Clone the source & install poetry dependencies - $ git clone https://github.com/triionhe/kyselma.git - $ cd kyselma -- $ psql < SCHEMA.sql (BE CAREFUL! This drops some tables.) +- $ export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring (Just in case..) - $ poetry install --no-root + +Get database ready +- $ psql < SCHEMA.sql (BE CAREFUL! This drops some tables.) Start the app in poetry virtual environment - $ SQLALCHEMY_DATABASE_URI="postgresql:///$USER" SECRET_KEY=29347884 poetry run flask run @@ -24,6 +27,8 @@ Start the app in poetry virtual environment Surf to the webpage and start two sessions for better testing - $ firefox http://localhost:5000/ http://127.0.0.1:5000/ +There is ready made kyselmä named 'kysdemo' for testing. + DONE: -- cgit v1.2.3