settings_prod.py 483 B

1234567891011121314151617181920
  1. # -*- coding: utf-8 -*-
  2. """Application configuration."""
  3. import os
  4. from walle.config.settings import Config
  5. class ProdConfig(Config):
  6. """Production configuration."""
  7. ENV = 'prod'
  8. DEBUG = False
  9. SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/example' # TODO: Change me
  10. DEBUG_TB_ENABLED = False # Disable Debug toolbar
  11. # 前端项目部署路径
  12. FE_PATH = '/Users/wushuiyong/workspace/meolu/walle-fe/'
  13. UPLOAD_AVATER = FE_PATH + 'dist/avater/'