Merge branch 'setup-flask' of github.com:netzbegruenung/candymat into setup-flask

This commit is contained in:
Christoph Lienhard 2019-08-31 17:03:48 +02:00
commit d1978854a9

View file

@ -9,8 +9,9 @@ Run inside this folder
./dev-setup.sh
```
For conda users:
#### For conda users:
```conda create -n candymat-userapp-api python=3.7.4 flask=1.1.1```
```conda activate candymat-userapp-api```
### Run
Start the flask server locally under http://127.0.0.1:5000 with the follwing script:
@ -19,5 +20,6 @@ Start the flask server locally under http://127.0.0.1:5000 with the follwing scr
```
Observe dummy data for http://127.0.0.1:5000/kandidaten
#### For conda users:
```conda activate candymat-userapp-api```
#### For Windows
```set set FLASK_APP=flask-server/main.py```
```flask run```