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;
# 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
<video width="348" height="240" controls preload="none">
<source src="{% url "telemeta-item-export" item.public_id mime_type|mime_to_ext %}" type="{{ mime_type }}" />
</video>
- <div id="videotime"></div>
</div>
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-share"></span> {% trans "Share" %}
+ </button>
+
+{% comment %}
+ <div id="videotime"></div>
<script>
(function(){
var v = document.getElementsByTagName('video')[0]
},false);
})();
</script>
+{% endcomment %}
+
{% endif %}