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