stock_any / run.py
fiewolf1000's picture
Upload 65 files
492836d verified
raw
history blame
297 Bytes
# run.py
import sys
import os
# 将项目根目录添加到Python路径
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from app.web.web_server import app
if __name__ == '__main__':
port = int(os.environ.get('PORT', 8888))
app.run(host='0.0.0.0', port=port, debug=False)