import os | |
import sys | |
from server import app | |
__author__ = 'hanl' | |
APP_PATH = "/home/korap/virtual_flask" | |
activate_this = os.path.join(APP_PATH, 'flask/bin', 'activate_this.py') | |
execfile(activate_this, dict(__file__=activate_this)) | |
sys.path.append(os.path.join(APP_PATH, 'service')) | |
from server import app as application |