LDAP Service
Create a new virtualenv and activate it
python3 -m venv .venv && source .venv/bin/activate
With a virtualenv activated install the dependencies
pip3 install --upgrade pip && pip3 install -r requirements/dev.txt
Set development environment variables
export FLASK_APP=ldap_service/app.py
export FLASK_ENV=development
flask run --host=0.0.0.0 --port=5000
Go to: http://localhost:5000/get-lineupid
pytest -v ldap_service/tests.py
docker build -t ldap-service:latest .
docker run -p 8000:5000 ldap-service