Cloud computing coursework:Saas 图片社交网站
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 rivejä
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)