Make it deployable

This commit is contained in:
Robbe Van Herck 2020-05-13 16:16:00 +02:00
parent 78c6dc768a
commit e5217dc38c
3 changed files with 17 additions and 0 deletions

11
blokmap.ini Normal file
View file

@ -0,0 +1,11 @@
[uwsgi]
module = wsgi
master = true
processes = 1
socket = blokdata.sock
chmod-socket = 660
vacuum = true
die-on-term = true

View file

@ -3,6 +3,7 @@ certifi==2020.4.5.1
chardet==3.0.4 chardet==3.0.4
click==7.1.2 click==7.1.2
Flask==1.1.2 Flask==1.1.2
Flask-Cors==3.0.8
google-api-core==1.17.0 google-api-core==1.17.0
google-api-python-client==1.8.2 google-api-python-client==1.8.2
google-auth==1.14.3 google-auth==1.14.3
@ -22,4 +23,5 @@ rsa==4.0
six==1.14.0 six==1.14.0
uritemplate==3.0.1 uritemplate==3.0.1
urllib3==1.25.9 urllib3==1.25.9
uWSGI==2.0.18
Werkzeug==1.0.1 Werkzeug==1.0.1

4
wsgi.py Normal file
View file

@ -0,0 +1,4 @@
from src import app as application
if __name__ == "__main__":
application.run()