From 00ff9198597f0d996a34ca7e7acf691b07c09b43 Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Mon, 30 Oct 2017 19:01:49 -0600 Subject: [PATCH] Agregar notas para uwsgi --- source/app/main.ini | 4 ++-- source/app/settings.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/app/main.ini b/source/app/main.ini index 9c5472f..e4a68ca 100644 --- a/source/app/main.ini +++ b/source/app/main.ini @@ -2,7 +2,7 @@ socket = 127.0.0.1:3033 uid = nginx gid = nginx -#~ Establece una ruta accesible para nginx +#~ Establece una ruta accesible para nginx o el servidor web que uses chdir = /srv/app/empresa-libre/app wsgi-file = main.py callable = app @@ -11,5 +11,5 @@ processes = 4 threads = 4 thunder-lock = true #~ stats = 127.0.0.1:9191 -#~ Establece una ruta accesible para nginx +#~ Establece una ruta accesible para nginx o el servidor web que uses logger = file:/srv/log/empresalibre-uwsgi.log diff --git a/source/app/settings.py b/source/app/settings.py index ad1d0cf..b968e87 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -11,7 +11,7 @@ from conf import DEBUG DEBUG = DEBUG -VERSION = '0.1.0' +VERSION = '0.2.0' EMAIL_SUPPORT = ('soporte@empresalibre.net',) BASE_DIR = os.path.abspath(os.path.dirname(__file__)) @@ -52,6 +52,7 @@ if DEBUG: level=LOG_LEVEL, format_string=format_string).push_application() else: + #~ Establece una ruta con acceso para nginx o el servidor web que uses LOG_PATH = '/srv/log/empresalibre.log' RotatingFileHandler( LOG_PATH,