This commit is contained in:
andis
2017-04-15 23:43:40 +02:00
parent 4d1bcee232
commit 41a58d612c
3 changed files with 0 additions and 32 deletions

View File

@@ -1,6 +0,0 @@
flask
flask_flatpages
Frozen-Flask
config
uwsgi
gevent

9
run.py
View File

@@ -1,9 +0,0 @@
from src.cont import app,freezer
if __name__ == "__main__":
if len(sys.argv) > 1 and sys.argv[1] == "build":
freezer.freeze()
else:
app.run(host='0.0.0.0',port=4444, debug=True)

View File

@@ -1,17 +0,0 @@
[uwsgi]
uid = 1001
gid = 33
master = true
processes = 1
chown-socket =uwsgi:www-data
virtualenv = /srv/mddoc/
pythonpath = /srv/mddoc/
pidfile = /srv/mddoc/mddoc.pid
socket = /srv/mddoc/mddoc.sock
chmod-socket = 660
module = src
callable = app
logdate = true
logger = file:/var/log/uwsgi/mddoc.log
loglevel = debug
gevent = 100