added (example) activate_this.py

This commit is contained in:
Tobias Kurze
2019-04-15 16:12:35 +02:00
parent dceefb0d69
commit 7f545e25f6
3 changed files with 43 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/python
activate_this = '/srv/http/vue_test/venv/bin/activate_this.py'
activate_this = '/srv/http/lrc/venv/bin/activate_this.py'
with open(activate_this) as file_:
exec(file_.read(), dict(__file__=activate_this))
@@ -8,7 +8,7 @@ import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0, "/srv/http/vue_test/")
sys.path.insert(0, "/srv/http/lrc/")
from backend import app as application
application.secret_key = 'Add your secret key'