Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
book conf
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Feb 8, 2017
1 parent 27d6b7e commit 67adfc2
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions serviceweb/tests/servicebook.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[flask]
DEBUG = 0
SESSION_TYPE = filesystem

[common]
sqluri = sqlite:///projects.db
secret_key = some_secret
host = 0.0.0.0
port = 5001

[oauth]
name = Servicebook
base_url = https://api.github.com/
access_token_url = https://github.com/login/oauth/access_token
authorize_url = https://github.com/login/oauth/authorize
client_id = XXX
client_secret = XXX

[mozillians]
endpoint = https://mozillians.org/api/v2/users
api_key = XXX

[loggers]
keys=root,servicebook

[handlers]
keys=consoleHandler

[formatters]
keys=simpleFormatter

[logger_root]
level=DEBUG
handlers=consoleHandler

[logger_servicebook]
level=DEBUG
handlers=consoleHandler
qualname=servicebook
propagate=0

[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)

[formatter_simpleFormatter]
#format= %(asctime)s - %(name)s - %(levelname)s - %(message)s
#datefmt=
#class=logging.Formatter

0 comments on commit 67adfc2

Please sign in to comment.