Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
1736371b
Commit
1736371b
authored
7 years ago
by
jaebradley
Browse files
Options
Downloads
Patches
Plain Diff
add analytics api env variables
use auth tokens instead of env tokens use default values from common
parent
4c352e2f
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/envs/aws.py
+4
-0
4 additions, 0 deletions
lms/envs/aws.py
lms/envs/common.py
+4
-0
4 additions, 0 deletions
lms/envs/common.py
with
8 additions
and
0 deletions
lms/envs/aws.py
+
4
−
0
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
"
)
...
...
This diff is collapsed.
Click to expand it.
lms/envs/common.py
+
4
−
0
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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment