Added runserver.wsgi.example
This commit is contained in:
12
blender-bfct/runserver.wsgi.example
Normal file
12
blender-bfct/runserver.wsgi.example
Normal file
@@ -0,0 +1,12 @@
|
||||
activate_this = '/absolute-path/venv/bin/activate_this.py'
|
||||
execfile(activate_this, dict(__file__=activate_this))
|
||||
|
||||
import sys
|
||||
sys.path.insert(0,'/absolute-path/blender-bfct/blender-bfct')
|
||||
|
||||
from application import app as application
|
||||
from application import db
|
||||
|
||||
if (__name__ == '__main__'):
|
||||
app.run()
|
||||
|
Reference in New Issue
Block a user