From b7ace5799670417acadac64ad3779ad020e59817 Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Fri, 19 May 2017 18:51:53 +0200 Subject: [PATCH] Added example for uwsgi and updated requirements --- requirements.txt | 7 ++++--- uwsgi_example.ini | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 uwsgi_example.ini diff --git a/requirements.txt b/requirements.txt index 0fbf609..28fc5a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -appdirs==1.4.3 -Django==1.10.6 +appdirs==1.4.0 +Django==1.10.5 django-autocomplete-light==3.2.7 django-stdimage==2.4.1 django-taggit==0.22.0 @@ -8,6 +8,7 @@ olefile==0.44 packaging==16.8 Pillow==4.0.0 progressbar2==3.20.0 -pyparsing==2.2.0 +pyparsing==2.1.10 python-utils==2.1.0 six==1.10.0 +uWSGI==2.0.15 diff --git a/uwsgi_example.ini b/uwsgi_example.ini new file mode 100644 index 0000000..bfa583b --- /dev/null +++ b/uwsgi_example.ini @@ -0,0 +1,16 @@ +[uwsgi] +chdir=/ +home=/virtenv +module=gulaschromstore.wsgi:application +master=True +socket=gulasch.sock +processes=5 +uid=1000 +gid=100 +harakiri=20 +max-requests=5000 +pidfile=/tmp/gulaschromstore-master.pid +vacuum=True +max-requests=5000 +daemonize=/var/log/uwsgi/gulaschromstore.log +env = LANG=de_DE.UTF-8