123456789101112131415161718192021222324252627 |
- DEBUG=True
- HOST = 0.0.0.0
- PORT = 8080
- # Flask ENV
- FLASK_APP=app.py
- FLASK_CONFIG=development
- # If not provided, a random one is generated
- # 密钥配置
- SECRET_KEY='一定要修改!!!'
- # Used for CDN (in production)
- ASSETS_ROOT=/static/assets
- # If DEBUG=True sqlite, else mysql
- DB_ENGINE=sqlite
- DB_NAME=appseed_db
- DB_HOST=localhost
- DB_PORT=3306
- DB_USERNAME=appseed_db_usr
- DB_PASS=<STRONG_PASS>
- # 邮箱配置
- MAIL_SERVER='smtp.qq.com'
- MAIL_USERNAME='123@qq.com'
- MAIL_PASSWORD='XXXXX' # 生成的授权码
- MAIL_PORT=465
|