]> git.parisson.com Git - mezzo.git/commitdiff
add title, add django-meta, set uwsgi uid and gid to www-data
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 5 Jan 2016 12:14:29 +0000 (13:14 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 5 Jan 2016 12:14:29 +0000 (13:14 +0100)
app/deploy/start_app.sh
app/manifeste/local_settings.py
requirements.txt

index 4ff5edfdb2206f9a59d3a8037fb12a89bc5f59f1..2bfbdbb9173f38291575a8cb98dd9429a05aa824 100644 (file)
@@ -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
index 99f7507a991e42be54e76960a24a1cfb371735b1..7d8fc6540ff30db33c658e4d9320c470fca001b6 100644 (file)
@@ -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'
index ee732c8070f4a9afe80f7db928f7991165d44789..6eec39c846a6e901b7c7a97e70e0df20d7005b5e 100644 (file)
@@ -7,3 +7,4 @@ MySQL-python==1.2.5
 Django==1.8.7
 mezzanine==4.0.1
 django-modeltranslation
+django-meta