From 770c2d2be48d1b9edfb4968cb0b13b74f50e1e2e Mon Sep 17 00:00:00 2001
From: Leander Karp <karp@cl.uni-heidelberg.de>
Date: Sun, 4 Aug 2024 20:51:28 +0200
Subject: [PATCH] Update README.md

---
 README.md | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index a19b618..9dd644d 100644
--- a/README.md
+++ b/README.md
@@ -51,9 +51,9 @@ sudo docker exec -it portal-app-1 flask shell
 
 ```bash
 # mkdir yourself into the portal directory
-python3 -m venv venv
-source venv/bin/activate
-pip install -r requirements.txt
+# Have pipenv (pip install pipenv) installed
+pipenv install
+pipenv shell
 export FLASK_APP=portal
 alembic upgrade head # to create (and update!) the database
 flask run
@@ -63,9 +63,8 @@ Also, you have to set up the LDAP server in Flask. At the moment we are required
 
 ```sh
 sudo ssh -D <your_forwarded_port> -p 80 <username>@lennon.cl.uni-heidelberg.de -L 636:ldap2:636
-python3 -m venv venv
-source venv/bin/activate
-pip install -r requirements.txt
+pipenv install
+pipenv shell
 export FLASK_APP=portal
 alembic upgrade head # to create (and update!) the database
 flask run
-- 
GitLab