import os | |
import sys | |
from service import server | |
__author__ = 'hanl' | |
APP_PATH="/var/www/html/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 views import app as application | |
from service.server import app as application | |