.env 529 B

123456789101112131415161718192021222324252627
  1. DEBUG=True
  2. HOST = 0.0.0.0
  3. PORT = 8080
  4. # Flask ENV
  5. FLASK_APP=app.py
  6. FLASK_CONFIG=development
  7. # If not provided, a random one is generated
  8. # 密钥配置
  9. SECRET_KEY='一定要修改!!!'
  10. # Used for CDN (in production)
  11. ASSETS_ROOT=/static/assets
  12. # If DEBUG=True sqlite, else mysql
  13. DB_ENGINE=sqlite
  14. DB_NAME=appseed_db
  15. DB_HOST=localhost
  16. DB_PORT=3306
  17. DB_USERNAME=appseed_db_usr
  18. DB_PASS=<STRONG_PASS>
  19. # 邮箱配置
  20. MAIL_SERVER='smtp.qq.com'
  21. MAIL_USERNAME='123@qq.com'
  22. MAIL_PASSWORD='XXXXX' # 生成的授权码
  23. MAIL_PORT=465