add readme

pull/1/head
radex 2023-09-19 18:22:53 +02:00
parent 7796c3273a
commit a32a2bfb53
1 changed files with 26 additions and 0 deletions

26
README.md Normal file
View File

@ -0,0 +1,26 @@
# ldap-web aka profile.hackerspace.pl
## quick start locally
```
(set python version to old enough version - see .python-version)
python3-m venv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
FLASK_ENV=development FLASK_APP=webapp python3 -m flask run -p 5001
```
Open app at localhost:5001
## quick start (dockerized)
```
docker build -t ldapweb .
docker run -p 8000:8000 ldapweb
```
Open app at localhost:8000
## deployment
Look for `ldapweb.libsonnet` in hscloud repo