forked from rSimulate/Cosmosium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
33 lines (27 loc) · 978 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
"""config.py: Default configuration."""
# Server:
SERVER = 'wsgiref'
DOMAIN = 'localhost:7099'
HOST = 'localhost'
PORT = 7099
# Meta:
# Note on making it work in localhost:
# * Open a terminal, then do:
# - sudo gedit /etc/hosts
# * Enter the desired localhost alias for 127.0.0.1:
# - (e.g. 127.0.0.1 mydomain.tld)
# * Don't forget to save the file :)
BASE_URI = 'http://mydomain.tld'
GOOGLE_BASE_URI = 'http://localhost' # Google doesn't seem to accept
# non-working urls, but accepts localhost
# Facebook:
FACEBOOK_CLIENT_ID = '545723862164937'
FACEBOOK_CLIENT_SECRET = '5407608c6e9d10b297ba77a4de18f75f'
# Twitter:
TWITTER_CLIENT_ID = '07gvoVMGyyul4m5bKkJuOA'
TWITTER_CLIENT_SECRET = 'PUOGZog1IhxsOQVojrwVgjHgSlHaVRibcpVsP8Axk0'
# Google:
GOOGLE_CLIENT_ID = '739869424938-1b0ilms09aal314r795lgptr6oq2e4ag.apps.googleusercontent.com'
GOOGLE_CLIENT_SECRET = 'bTnUJ1Zljv3FxUUkT1hNj6n-'