uwsgi added to package with ini and launcher

This commit is contained in:
2021-10-25 21:20:43 -06:00
parent 7693b24f89
commit 3b78f22df8
3 changed files with 14 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[uwsgi]
socket = /mnt/home/flask-fdx/venv/var/flaskfdx-instance/flaskfdx.sock
chdir = /mnt/home/flask-fdx/venv/
file = /mnt/home/flask-fdx/wsgi.py
callable = app
virtual-env = /mnt/home/flask-fdx/venv
uid = http
gid = http
manage-script-name
plugin = python
+1
View File
@@ -9,5 +9,6 @@ setup(
install_requires=[
'flask',
'xlrd',
'uwsgi',
],
)
+3
View File
@@ -0,0 +1,3 @@
from flaskfdx import create_app
app = create_app()