From e5ad910d2e8ab99a54451c677943d54e1ec4666c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 5 Jan 2016 13:14:29 +0100 Subject: [PATCH] add title, add django-meta, set uwsgi uid and gid to www-data --- app/deploy/start_app.sh | 6 +++++- app/manifeste/local_settings.py | 3 +++ requirements.txt | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/deploy/start_app.sh b/app/deploy/start_app.sh index 4ff5edfd..2bfbdbb9 100644 --- a/app/deploy/start_app.sh +++ b/app/deploy/start_app.sh @@ -11,6 +11,8 @@ port=8000 processes=2 threads=2 autoreload=3 +uid='www-data' +gid='www-data' # waiting for other services sh $app/deploy/wait.sh @@ -26,4 +28,6 @@ watchmedo shell-command --patterns="*.js;*.css" --recursive \ # app start uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master \ - --processes $processes --threads $threads --py-autoreload $autoreload + --processes $processes --threads $threads \ + --uid $uid --gid $gid \ + --py-autoreload $autoreload diff --git a/app/manifeste/local_settings.py b/app/manifeste/local_settings.py index 99f7507a..7d8fc654 100644 --- a/app/manifeste/local_settings.py +++ b/app/manifeste/local_settings.py @@ -47,3 +47,6 @@ EMAIL_HOST = 'smtp.ircam.fr' EMAIL_PORT = '25' DEFAULT_FROM_EMAIL = 'manifeste2016@ircam.fr' EMAIL_SUBJECT_PREFIX = "IRCAM Manifeste 2016" + +SITE_TITLE = 'Manifeste 2016' +SITE_TAGLINE = 'Festival 2 juin | 2 juillet 2016' diff --git a/requirements.txt b/requirements.txt index ee732c80..6eec39c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ MySQL-python==1.2.5 Django==1.8.7 mezzanine==4.0.1 django-modeltranslation +django-meta -- 2.39.5