summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index cc513b2..2fb3381 100644
--- a/README.md
+++ b/README.md
@@ -2,15 +2,18 @@
Kyselmä - kysele, vastaile ja tutki tuloksia
TO GET IT RUNNING:
+
Install postgresql for local user & get it running
- $ wget https://github.com/hy-tsoha/local-pg/raw/master/pg-install.sh
- $ bash pg-install.sh
- $ postrgres &
+
Clone the source, get tables ready & install poetry dependencies
- $ git clone https://github.com/triionhe/kyselma.git
- $ cd kyselma
- $ psql < SCHEMA.sql
- $ poetry install
+
Start the app in poetry virtual environment
- $ SQLALCHEMY_DATABASE_URI="postgresql:///$USER" SECRET_KEY=923987295 poetry run flask run