Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Add config.py example
Browse files Browse the repository at this point in the history
  • Loading branch information
IcyMidnight committed May 25, 2015
1 parent 1fc2212 commit f0c488e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config.py.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import os
basedir = os.path.abspath(os.path.dirname(__file__))

SERVER_NAME = 'dev.local:5000'

WTF_CSRF_ENABLED = True
SECRET_KEY = 'abcdefghijklmnopqrstuvwxyz0123456789'

SQLALCHEMY_DATABASE_URI = 'mysql://username:password@host/database'
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'migrations')

CORE_ENDPOINT = 'https://auth.example.com/api'
CORE_APP_ID = '12345'
CORE_PRIVATE_KEY = '0123456789abcdef'
CORE_CORE_PUBLIC_KEY = 'fedcba9876543210'

CORE_ADMIN_PERMISSION = 'standings-admin'
CORE_EDIT_PERMISSION = 'standings-edit'
CORE_VIEW_PERMISSION = 'standings-view'

STANDINGS_VALID_VALUES = ['+10', '+5', '+2.5', '+1.1', '0', '-5', '-10']

0 comments on commit f0c488e

Please sign in to comment.