added (example) activate_this.py
This commit is contained in:
4
app.wsgi
4
app.wsgi
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user