.env 529 B

12345678910111213141516171819202122232425262728293031
  1. DEBUG=True
  2. HOST = 127.0.0.1
  3. PORT = 8080
  4. # Flask ENV
  5. FLASK_APP=app.py
  6. FLASK_CONFIG=development
  7. SECRET_KEY='ssss'
  8. # Used for CDN (in production)
  9. ASSETS_ROOT=/static/assets
  10. # If DEBUG=False sqlite, else mysql
  11. DB_ENGINE=mysql
  12. DB_NAME=appseed_db
  13. DB_HOST=localhost
  14. DB_PORT=3306
  15. DB_USERNAME=appseed_db_usr
  16. DB_PASS=<STRONG_PASS>
  17. # redis
  18. REDIS_HOST=localhost
  19. REDIS_PORT=6379
  20. REDIS_DB=0
  21. REDIS_PASSWORD=123456
  22. # 邮箱配置
  23. MAIL_SERVER='smtp.qq.com'
  24. MAIL_USERNAME='123@qq.com'
  25. MAIL_PASSWORD='XXXXX' # 生成的授权码
  26. MAIL_PORT=465