Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a9506c1a
Unverified
Commit
a9506c1a
authored
Dec 12, 2017
by
Jae Bradley
Committed by
GitHub
Dec 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16828 from edx/add-analytics-api-env-variables
Add Analytics API Environment Variables
parents
3cc25a30
1736371b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lms/envs/aws.py
+4
-0
lms/envs/common.py
+4
-0
No files found.
lms/envs/aws.py
View file @
a9506c1a
...
...
@@ -590,6 +590,10 @@ if 'DATADOG_API' in AUTH_TOKENS:
ANALYTICS_DASHBOARD_URL
=
ENV_TOKENS
.
get
(
"ANALYTICS_DASHBOARD_URL"
,
ANALYTICS_DASHBOARD_URL
)
ANALYTICS_DASHBOARD_NAME
=
ENV_TOKENS
.
get
(
"ANALYTICS_DASHBOARD_NAME"
,
ANALYTICS_DASHBOARD_NAME
)
# Analytics API
ANALYTICS_API_KEY
=
AUTH_TOKENS
.
get
(
"ANALYTICS_API_KEY"
,
ANALYTICS_API_KEY
)
ANALYTICS_API_URL
=
ENV_TOKENS
.
get
(
"ANALYTICS_API_URL"
,
ANALYTICS_API_URL
)
# Mailchimp New User List
MAILCHIMP_NEW_USER_LIST_ID
=
ENV_TOKENS
.
get
(
"MAILCHIMP_NEW_USER_LIST_ID"
)
...
...
lms/envs/common.py
View file @
a9506c1a
...
...
@@ -2980,6 +2980,10 @@ OPENID_DOMAIN_PREFIX = 'openid:'
ANALYTICS_DASHBOARD_URL
=
""
ANALYTICS_DASHBOARD_NAME
=
_
(
'Your Platform Insights'
)
### Analytics API
ANALYTICS_API_KEY
=
""
ANALYTICS_API_URL
=
"http://localhost:18100"
# REGISTRATION CODES DISPLAY INFORMATION SUBTITUTIONS IN THE INVOICE ATTACHMENT
INVOICE_CORP_ADDRESS
=
"Please place your corporate address
\n
in this configuration"
INVOICE_PAYMENT_INSTRUCTIONS
=
"This is where you can
\n
put directions on how people
\n
buying registration codes"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment