Committing source

This commit is contained in:
Clayton Walker
2016-04-13 21:40:40 -04:00
parent 7ab0bccd11
commit 000b695324
21 changed files with 7710 additions and 0 deletions

24
lab_app/lab_app_uwsgi.ini Executable file
View File

@ -0,0 +1,24 @@
#Full path: /var/www/lab_app/lab_app_uwsgi.ini
[uwsgi]
#application's base folder
base = /var/www/lab_app
#python module to import
app = lab_app
module = %(app)
home = %(base)/venv
pythonpath = %(base)
#socket file's location
socket = /var/www/lab_app/%n.sock
#permissions for the socket file
chmod-socket = 666
#the variable that holds a flask application inside the module imported at line #6
callable = app
#location of log files
logto = /var/log/uwsgi/%n.log