summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Suopanki <jsuopank@local>2023-11-27 21:01:42 +0200
committerJakob Suopanki <jsuopank@local>2023-11-27 21:01:42 +0200
commit23518a49f95837199036e07deb4a97cad9e871bd (patch)
treefef6fd40ff1f163ddcfdce8c31e97f348d14b827
parentcbfd7ed7fb8c1bf4aefdcf77aa03d806011daf29 (diff)
Fix README.md.
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index f137c82..3f0deb9 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ Install postgresql for local user & get it running (as in course material)
- $ bash pg-install.sh
- $ postrgres &
-Clone the source & install poetry dependencies
+Clone the source
- $ git clone https://github.com/triionhe/kyselma.git
- $ cd kyselma
@@ -20,17 +20,21 @@ Either use (1) poetry or (2) venv to handle dependencies and run the app
(1) Install poetry if nessesary. (refer your distro)
- $ pip install --user poetry
- $ pipx install poetry
+
(1) Install dependencies
- $ export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring (Just in case..)
- $ poetry install --no-root
+
(1) Start the app in poetry virtual environment
- $ poetry run flask run
(2) Activate venv environment
- $ python3 -m venv venv
- $ source venv/bin/activate
+
(2) Install dependencies with pip
- $ pip install -r ./requirements.txt
+
(2) Start the app
- $ flask run