# Pastebin Ip1mEHhf # -*- coding: utf-8 -*- # CUSTOM CONFIGURATION DEBUG = True # set to False in production mode SECRET_KEY = "CHANGE_THIS" # DATABASES # Primary database # Example: # SQLALCHEMY_DATABASE_URI = "postgresql://:@:/" SQLALCHEMY_DATABASE_URI = "postgresql://metabrainz:metabrainz@localhost:5432/metabrainz" # Database for testing TEST_SQLALCHEMY_DATABASE_URI = "postgresql://metabrainz_test:metabrainz_test@localhost:5432/metabrainz_test" # PAYMENTS PAYMENT_PRODUCTION = False # set to False to use testing environments for donations # WePay # https://www.wepay.com/developer/reference/account-id WEPAY_ACCOUNT_ID = "" # https://www.wepay.com/developer/reference/access-tokens WEPAY_ACCESS_TOKEN = "" # PayPal PAYPAL_PRIMARY_EMAIL = "paypal@metabrainz.org" PAYPAL_BUSINESS = "payment@metabrainz.org" # Stripe # https://stripe.com/docs/tutorials/dashboard#api-keys STRIPE_KEYS = { "SECRET": "", "PUBLISHABLE": "", } STRIPE_TEST_KEYS = { "SECRET": "", "PUBLISHABLE": "", } # MUSICBRAINZ # MusicBrainz Base URL must have a trailing slash. MUSICBRAINZ_BASE_URL = "https://musicbrainz.org/" MUSICBRAINZ_CLIENT_ID = "" MUSICBRAINZ_CLIENT_SECRET = "" # ADMIN SECTION # This is a list of MusicBrainz usernames of people that are allowed to access # admin section of the website. Usernames are case-sensetive! ADMINS = [ 'rob', ] # REPLICATION PACKETS # Hourly replication packets must be located in this directory. Daily # replication packets must be located in subdirectory called "daily" # in REPLICATION_PACKETS_DIR. Weekly packets in subdirectory "weekly". REPLICATION_PACKETS_DIR = "/vagrant/replication_packets" # CACHE #MEMCACHED_SERVERS = ["127.0.0.1:11211"] #MEMCACHED_NAMESPACE = "MeB" # LOGGING #LOG_FILE_ENABLED = True #LOG_FILE = "server.log" #LOG_EMAIL_ENABLED = True #LOG_EMAIL_TOPIC = "MetaBrainz Website Failure" #LOG_EMAIL_RECIPIENTS = [] # Array with email addresses (strings) #LOG_SENTRY_ENABLED = True #SENTRY_DSN = "" # OTHER STUFF # reCAPTCHA (https://www.google.com/recaptcha/) RECAPTCHA_PUBLIC_KEY = "" RECAPTCHA_PRIVATE_KEY = "" # List of email addresses NOTIFICATION_RECIPIENTS = [ # "admin@example.org", ] # See http://flask.pocoo.org/docs/0.10/config/#builtin-configuration-values #PREFERRED_URL_SCHEME = "https" #USE_COMPILED_STYLING = True #BEHIND_GATEWAY = True #REMOTE_ADDR_HEADER = "X-MB-Remote-Addr" # Mail server SMTP_SERVER = "localhost" SMTP_PORT = 25 MAIL_FROM_DOMAIN = "metabrainz.org" # If you use nginx, there's an option to use it to serve replication packets. # See installation instructions for more info. #USE_NGINX_X_ACCEL = True