12345678910111213141516171819202122232425262728293031 |
- DEBUG=True
- HOST = 127.0.0.1
- PORT = 8080
- # Flask ENV
- FLASK_APP=app.py
- FLASK_CONFIG=development
- SECRET_KEY='ssss'
- # Used for CDN (in production)
- ASSETS_ROOT=/static/assets
- # If DEBUG=False sqlite, else mysql
- DB_ENGINE=mysql
- DB_NAME=appseed_db
- DB_HOST=localhost
- DB_PORT=3306
- DB_USERNAME=appseed_db_usr
- DB_PASS=<STRONG_PASS>
- # redis
- REDIS_HOST=localhost
- REDIS_PORT=6379
- REDIS_DB=0
- REDIS_PASSWORD=123456
- # 邮箱配置
- MAIL_SERVER='smtp.qq.com'
- MAIL_USERNAME='123@qq.com'
- MAIL_PASSWORD='XXXXX' # 生成的授权码
- MAIL_PORT=465
|