Skip to content
Snippets Groups Projects
Unverified Commit 770c2d2b authored by karp's avatar karp
Browse files

Update README.md

parent b6a559b9
No related branches found
No related tags found
1 merge request!21Introduce Pipenv
This commit is part of merge request !21. Comments created here will be created in the context of that merge request.
...@@ -51,9 +51,9 @@ sudo docker exec -it portal-app-1 flask shell ...@@ -51,9 +51,9 @@ sudo docker exec -it portal-app-1 flask shell
```bash ```bash
# mkdir yourself into the portal directory # mkdir yourself into the portal directory
python3 -m venv venv # Have pipenv (pip install pipenv) installed
source venv/bin/activate pipenv install
pip install -r requirements.txt pipenv shell
export FLASK_APP=portal export FLASK_APP=portal
alembic upgrade head # to create (and update!) the database alembic upgrade head # to create (and update!) the database
flask run flask run
...@@ -63,9 +63,8 @@ Also, you have to set up the LDAP server in Flask. At the moment we are required ...@@ -63,9 +63,8 @@ Also, you have to set up the LDAP server in Flask. At the moment we are required
```sh ```sh
sudo ssh -D <your_forwarded_port> -p 80 <username>@lennon.cl.uni-heidelberg.de -L 636:ldap2:636 sudo ssh -D <your_forwarded_port> -p 80 <username>@lennon.cl.uni-heidelberg.de -L 636:ldap2:636
python3 -m venv venv pipenv install
source venv/bin/activate pipenv shell
pip install -r requirements.txt
export FLASK_APP=portal export FLASK_APP=portal
alembic upgrade head # to create (and update!) the database alembic upgrade head # to create (and update!) the database
flask run flask run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment