# Technically optional: create a virtual environment manually
uv venv .venv
source .venv/bin/activate
uv pip sync
export FLASK_APP=portal
alembic upgrade head# to create (and update!) the database
flask run
```
Also, you have to set up the LDAP server in Flask. At the moment we are required to use a VPN or `lennonproxy` to access the LDAP server. The following command forwards the LDAP server to your local machine:
Also, you have to set up the LDAP server in Flask. At the moment we are required to use a VPN or `lennonproxy` to access the LDAP server. The following command forwards the LDAP server to your local machine: