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
1736371b
Commit
1736371b
authored
Dec 07, 2017
by
jaebradley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add analytics api env variables
use auth tokens instead of env tokens use default values from common
parent
4c352e2f
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 @
1736371b
...
...
@@ -589,6 +589,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 @
1736371b
...
...
@@ -2969,6 +2969,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