From e2a71c43125fc1727a731ab07c10071ae4ceb040 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 4 May 2011 15:54:57 +0100 Subject: [PATCH] Example files for uWSGI deployment, moved WSGI file to "application" --- auth_wsgi.py => application.py | 0 etc/auth_uwsgi.xml | 12 ------------ etc/uwsgi-example.ini | 11 +++++++++++ 3 files changed, 11 insertions(+), 12 deletions(-) rename auth_wsgi.py => application.py (100%) delete mode 100644 etc/auth_uwsgi.xml create mode 100644 etc/uwsgi-example.ini diff --git a/auth_wsgi.py b/application.py similarity index 100% rename from auth_wsgi.py rename to application.py diff --git a/etc/auth_uwsgi.xml b/etc/auth_uwsgi.xml deleted file mode 100644 index 808b1b1..0000000 --- a/etc/auth_uwsgi.xml +++ /dev/null @@ -1,12 +0,0 @@ - - 127.0.0.1:8811 - ./env/ - ./ - auth_wsgi - - 5 - - ./logs/uwsgi.pid - - - diff --git a/etc/uwsgi-example.ini b/etc/uwsgi-example.ini new file mode 100644 index 0000000..0fa689c --- /dev/null +++ b/etc/uwsgi-example.ini @@ -0,0 +1,11 @@ +[uwsgi] + +app_root = ../../apps/%n + +socket = 127.0.0.1:8811 +chdir = %(app_root) +home = %(app_root)/env/ +pythonpath = %(app_root) +module = application +processes = 5 +