text: 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') or 'you-will-never-guess'
      SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
          'sqlite:///' + os.path.join(basedir, 'app.db')
      SQLALCHEMY_TRACK_MODIFICATIONS = False
      MAIL_SUPPRESS_SEND = False
      MAIL_SERVER = os.getenv('MAIL_SERVER')
      MAIL_PORT = os.getenv('MAIL_PORT')
      MAIL_USE_TLS = False
      MAIL_USE_SSL = True
      MAIL_USERNAME = os.getenv('MAIL_USERNAME')
      MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
      MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER')
      POSTS_PER_PAGE = 20
      LANGUAGES = ['en', 'es']
      MS_TRANSLATOR_KEY = os.getenv('MS_TRANSLATOR_KEY')
      ELASTICSEARCH_URL = os.getenv('ELASTICSEARCH_URL')
      UPLOAD_FOLDER = 'static/uploads'
      REDIS_URL = os.environ.get('REDIS_URL') or 'redis://'
      # UPLOAD_FOLDER = os.path.join(basedir, 'app/static/uploads')
  