-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
39 lines (37 loc) · 1.77 KB
/
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
34
35
36
37
38
39
# Don't import anything that imports CONFIG here, the circular dependency will not work.
# Instead, import after the definition of CONFIG.
CONFIG = {
# foursquare server to use. You probably don't need to change this.
'foursquare_server':'https://foursquare.com',
# The server name for local_dev mode. Make sure the port matches what you use.
'local_server': 'http://localhost:8080',
# Server name for your deployed AppEngine instance
'prod_server': 'https://project-cmdrdata.appspot.com',
# OAuth client ID. Must match what you set at https://foursquare.com/oauth.
'client_id': 'LNB0FOSEKS4QPOQW2HTAXVRGQIBU22RAP4PWVCIHILK3DSUF',
# OAuth callback/redirect URI. Must match what you set at https://foursquare.com/oauth.
'redirect_uri': '%s/oauth', # (server)
# Format string to serve URL content out of. Not necessarily required.
'content_uri': '%s/content?content_id=%s', # (server, content_id)
# The foursquare API version string to pass. See: https://developer.foursquare.com/overview/versioning
'api_version': '20120608',
# A name for the hompage and titles.
'site_name': '',
# A description for the home page
'site_description': '',
# If true, we use local_server, and log actions instead of POSTing to foursquare
# Be sure to set this to false when you actually want to deploy.
'local_dev': False,
# AppEngine debug mode
'debug': True,
# These can either be a path (on this server), or an external URI
'auth_success_uri_desktop': '/',
'auth_success_uri_mobile': '/',
'auth_denied_uri': '/',
# Application Level Configuration
# Feel free to add new config parameters here...
}
# Replace 'None' with the class object of your app. It must inherit from the
# provided AbstractApp class.
from cmdrdata.cmdrdata import CmdrData
APP_CLASS = CmdrData