Akron | ca9bd98 | 2016-12-06 16:59:57 +0100 | [diff] [blame^] | 1 | import os |
2 | import sys | ||||
3 | __author__ = 'hanl' | ||||
4 | |||||
5 | APP_PATH="/var/www/html/virtual_flask" | ||||
6 | activate_this = os.path.join(APP_PATH, 'flask/bin', 'activate_this.py') | ||||
7 | execfile(activate_this, dict(__file__=activate_this)) | ||||
8 | |||||
9 | sys.path.append(os.path.join(APP_PATH, 'service')) | ||||
10 | |||||
11 | #from views import app as application | ||||
12 | from server import app as application | ||||
13 |