From: Guillaume Pellerin Date: Mon, 21 Dec 2015 11:12:12 +0000 (+0100) Subject: add phpmyadmin url, prepare video sharing X-Git-Tag: 1.6b~7^2~34 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=21fd84d6b4aca0f06ce76fb8cde124d352f8f2c5;p=telemeta.git add phpmyadmin url, prepare video sharing --- diff --git a/app/deploy/nginx-app.conf b/app/deploy/nginx-app.conf index 4aaec53a..ecafdd04 100644 --- a/app/deploy/nginx-app.conf +++ b/app/deploy/nginx-app.conf @@ -20,6 +20,11 @@ server { alias /srv/static; # your Django project's static files - amend as required } + # phpmyadmin + location /phpmyadmin { + proxy_pass http://localhost:10000/; + } + location / { uwsgi_pass app:8000; include /etc/nginx/uwsgi_params; diff --git a/app/deploy/start_app.sh b/app/deploy/start_app.sh index 18c1695c..0b3947ee 100644 --- a/app/deploy/start_app.sh +++ b/app/deploy/start_app.sh @@ -32,7 +32,7 @@ fi # static files auto update watchmedo shell-command --patterns="*.js;*.css" --recursive \ - --command='python '$manage' collectstatic --noinput' $static & + --command='python '$manage' collectstatic --noinput' $static & # app start uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master --processes $processes --threads $threads --py-autoreload $autoreload diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index d8d6b4fd..eb252b7c 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -166,9 +166,14 @@ -
+ + +{% comment %} +
+{% endcomment %} + {% endif %}