Cloud computing coursework:Saas 图片社交网站
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
393 B

from phshare import create_app
# app = create_app()
# if __name__ == "__main__":
# app.run("127.0.0.1",3389,debug=True)
import os
from dotenv import load_dotenv
dotenv_path = os.path.join(os.path.dirname(__file__), '.env')
if os.path.exists(dotenv_path):
load_dotenv(dotenv_path)
app = create_app('production')
if __name__ == "__main__":
app.run("127.0.0.1", 3389, debug=True)