text: import os 
  
  
  
  class Config:
      SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://kiptim:jerotich@localhost/blog'
      SQLALCHEMY_TRACK_MODIFICATIONS = False
      SECRET_KEY = os.environ.get('SECRET_KEY')
      SECRET_KEY = 'kenani'
      #  email configurations
      MAIL_SERVER = 'smtp.googlemail.com'
      MAIL_PORT = 587
      MAIL_USE_TLS = True
      MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
      MAIL_USERNAME = 'kiptim54@gmail.com'
      MAIL_PASSWORD = 'jerotich'
      MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
      SENDER_EMAIL = 'kiptim54@gmail.com'
      UPLOADED_PHOTOS_DEST ='app/static/photos'   
       # simple mde  configurations
      SIMPLEMDE_JS_IIFE = True
      SIMPLEMDE_USE_CDN = True
      BASIC_AUTH_USERNAME = 'brenda'
      BASIC_AUTH_pASSWORD = "jerotich"
  
  class ProdConfig(Config):
      SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
      # SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://kiptim:jerotich@localhost/blog'
      
      DEBUG = True
  
  class DevConfig(Config):
      SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://kiptim:jerotich@localhost/blog'
      DEBUG = True
      
  class TestConfig(Config):
      SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://kiptim:jerotich@localhost/blog_test'
  
  config_options ={"production":ProdConfig,"default":DevConfig,'test':TestConfig}
  
  