<gh_stars>1-10
import os
from datetime import timedelta


class Config(object):
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'YOUR_SECRET_KEY'
    SESSION_TYPE = 'filesystem'
    PERMANENT_SESSION_LIFETIME = timedelta(minutes=30)
    UPVOTE_ACCOUNT = os.environ.get('UPVOTE_ACCOUNT') or 'YOUR_USERNAME'
    UPVOTE_KEY = os.environ.get('UPVOTE_KEY') or 'YOUR_PRIVATE_POSTING_KEY'

    # firebase config
    FB_APIKEY = os.environ.get('FB_APIKEY') or 'YOUR_FB_APIKEY'
    FB_AUTHDOMAIN = 'blurtdb.firebaseapp.com'
    FB_DATABASEURL = 'https://blurtdb.firebaseio.com'
    FB_STORAGEBUCKET = 'blurtdb.appspot.com'
    FB_SERVICEACCOUNT = os.environ.get(
        'FB_SERVICEACCOUNT') or 'FB_SERVICEACCOUNT'

    # celery config
    userinfo = 'nmrwbflq:Z3HbmTcw53wIN5oD80Qs85z1oUqpzyAW'
    host = 'jellyfish.rmq.cloudamqp.com'
    vhost = 'nmrwbflq'
    broker_url = f"amqps://{userinfo}@{host}/{vhost}"
    CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL') or broker_url

import os
from datetime import timedelta


class Config(object):
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'YOUR_SECRET_KEY'
    SESSION_TYPE = 'filesystem'
    PERMANENT_SESSION_LIFETIME = timedelta(minutes=30)
    UPVOTE_ACCOUNT = os.environ.get('UPVOTE_ACCOUNT') or 'YOUR_USERNAME'
    UPVOTE_KEY = os.environ.get('UPVOTE_KEY') or 'YOUR_PRIVATE_POSTING_KEY'

    # firebase config
    FB_APIKEY = os.environ.get('FB_APIKEY') or 'YOUR_FB_APIKEY'
    FB_AUTHDOMAIN = 'blurtdb.firebaseapp.com'
    FB_DATABASEURL = 'https://blurtdb.firebaseio.com'
    FB_STORAGEBUCKET = 'blurtdb.appspot.com'
    FB_SERVICEACCOUNT = os.environ.get(
        'FB_SERVICEACCOUNT') or 'FB_SERVICEACCOUNT'

    # celery config
    userinfo = 'nmrwbflq:Z3HbmTcw53wIN5oD80Qs85z1oUqpzyAW'
    host = 'jellyfish.rmq.cloudamqp.com'
    vhost = 'nmrwbflq'
    broker_url = f"amqps://{userinfo}@{host}/{vhost}"
    CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL') or broker_url
# firebase config # celery config