<reponame>PoweredByPeople/blog-public<filename>config.py
import os
from dotenv import load_dotenv

basedir = os.path.abspath(os.path.dirname(__file__))
load_dotenv(os.path.join(basedir, '.env'))

class Config(object):
    SECRET_KEY = os.environ.get('SECRET_KEY')
    SQLALCHEMY_DATABASE_URI = ""
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    MAIL_SERVER = "smtp.mailgun.org"
    MAIL_PORT = "587"
    MAIL_USE_TLS = "True"
    MAIL_USERNAME = ""
    MAIL_PASSWORD = ""
    ADMINS = ['<EMAIL>']
    LANGUAGES = ['en', 'es']
    MS_TRANSLATOR_KEY = os.environ.get('')
    ELASTICSEARCH_URL = os.environ.get('ELASTICSEARCH_URL')
    POSTS_PER_PAGE = 25

import os
from dotenv import load_dotenv

basedir = os.path.abspath(os.path.dirname(__file__))
load_dotenv(os.path.join(basedir, '.env'))

class Config(object):
    SECRET_KEY = os.environ.get('SECRET_KEY')
    SQLALCHEMY_DATABASE_URI = ""
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    MAIL_SERVER = "smtp.mailgun.org"
    MAIL_PORT = "587"
    MAIL_USE_TLS = "True"
    MAIL_USERNAME = ""
    MAIL_PASSWORD = ""
    ADMINS = ['<EMAIL>']
    LANGUAGES = ['en', 'es']
    MS_TRANSLATOR_KEY = os.environ.get('')
    ELASTICSEARCH_URL = os.environ.get('ELASTICSEARCH_URL')
    POSTS_PER_PAGE = 25