Skip to content

Veleslavia/yavat

Repository files navigation

YAVAT

Dependencies

Potential improvements

https://hub.docker.com/r/dkarchmervue/python27-opencv/ https://github.com/steeve/docker-opencv/blob/master/Dockerfile

Apache

/var/www/yavat/app.wsgi

import sys
from os.path import expanduser
sys.path.insert(0, expanduser('~/yavat'))

from app import app as application

/etc/apache2/sites-available/yavat.conf

<VirtualHost *>
    ServerName mvideodb.s.upf.edu

    WSGIDaemonProcess app user=oslizovskaia group=mtg_users threads=5
    WSGIScriptAlias / /var/www/yavat/app.wsgi

    <Directory /var/www/yavat>
        WSGIProcessGroup app
        WSGIScriptReloading On
        WSGIApplicationGroup %{GLOBAL}
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>

sudo a2ensite yavat.conf sudo service apache2 restart

Finally, use sshfs to mount videodb data directory and mvideodb PostgreSQL DB on mvideodb server.

About

Yet Another Video Annotation Tool prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published