add production script

This commit is contained in:
2021-06-12 10:06:40 +02:00
parent 2896fd4688
commit e905c51625
4 changed files with 58 additions and 33 deletions

View File

@ -1,4 +1,4 @@
# Kompetenzinventar Backend
# Kompetenzinventar Backend
## Entwicklung
@ -20,6 +20,12 @@ flask run
http://localhost:5000/
### Produktionsumgebung
Für die Produktionsumgebung wird [waitress](https://docs.pylonsproject.org/projects/waitress/en/latest/) benutzt.
[`run_prod.py`](./run_prod.py) führt die DB Migrationen aus und startet den Server.
### Quellen
* [`./data/iso_639_1.csv`](https://de.wikipedia.org/wiki/Liste_der_ISO-639-1-Codes)