diff options
author | Jakob Suopanki <jsuopank@local> | 2023-11-27 21:01:42 +0200 |
---|---|---|
committer | Jakob Suopanki <jsuopank@local> | 2023-11-27 21:01:42 +0200 |
commit | 23518a49f95837199036e07deb4a97cad9e871bd (patch) | |
tree | fef6fd40ff1f163ddcfdce8c31e97f348d14b827 | |
parent | cbfd7ed7fb8c1bf4aefdcf77aa03d806011daf29 (diff) |
Fix README.md.
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |