2016-07-29 16:29:51 +02:00
|
|
|
from os.path import abspath, dirname
|
|
|
|
import sys
|
|
|
|
|
|
|
|
activate_this = '/data/venv/bin/activate_this.py'
|
|
|
|
execfile(activate_this, dict(__file__=activate_this))
|
|
|
|
from flup.server.fcgi import WSGIServer
|
2016-08-10 18:27:27 +02:00
|
|
|
from pillar import PillarServer
|
2016-07-29 16:29:51 +02:00
|
|
|
|
2016-08-10 18:27:27 +02:00
|
|
|
sys.path.append('/data/git/blender-cloud/')
|
2016-07-29 16:29:51 +02:00
|
|
|
|
|
|
|
application = PillarServer(dirname(abspath(__file__)))
|
|
|
|
application.process_extensions()
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
WSGIServer(application).run()
|