<reponame>Josephat-n/myBlog<gh_stars>0
import os

class Config:
	SECRET_KEY=os.environ.get('SECRET_KEY')
 
 	#Email configurations
	MAIL_SERVER = 'smtp.googlemail.com'
	MAIL_PORT = 587
	MAIL_USE_TLS = True
	MAIL_USERNAME = os.environ.get("MAIL_USERNAME")
	MAIL_PASSWORD = <PASSWORD>("MAIL_PASSWORD")

class ProdConfig(Config):   
   SQLALCHEMY_DATABASE_URI=os.environ.get("DATABASE_URL")
   
class DevConfig(Config):  
   SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://njoro:njoro@localhost/blog' 
   DEBUG = True

config_options = {
'development':DevConfig,
'production':ProdConfig,
}

import os

class Config:
	SECRET_KEY=os.environ.get('SECRET_KEY')
 
 	#Email configurations
	MAIL_SERVER = 'smtp.googlemail.com'
	MAIL_PORT = 587
	MAIL_USE_TLS = True
	MAIL_USERNAME = os.environ.get("MAIL_USERNAME")
	MAIL_PASSWORD = <PASSWORD>("MAIL_PASSWORD")

class ProdConfig(Config):   
   SQLALCHEMY_DATABASE_URI=os.environ.get("DATABASE_URL")
   
class DevConfig(Config):  
   SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://njoro:njoro@localhost/blog' 
   DEBUG = True

config_options = {
'development':DevConfig,
'production':ProdConfig,
}
#Email configurations