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