Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
60e8d50d
Commit
60e8d50d
authored
7 years ago
by
Christopher Lee
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3950 from edx/clee/ecommerce_i18n
Updated language code and cookie for ecommerce
parents
c190ae90
d4df614c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
CHANGELOG.md
+3
-0
playbooks/roles/ecommerce/defaults/main.yml
+3
-1
No files found.
CHANGELOG.md
View file @
60e8d50d
-
Role: ecommerce
-
Added ECOMMERCE_LANGUAGE_COOKIE_NAME which is the name of the cookie the ecommerce django app looks at for determining the language preference.
-
Role: neo4j
-
Enabled splunk forwarding for neo4j logs.
-
Increased maximum amount of open files to 40000, as suggested by neo4j.
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/ecommerce/defaults/main.yml
View file @
60e8d50d
...
...
@@ -50,7 +50,8 @@ ECOMMERCE_OIDC_LOGOUT_URL: '{{ EDXAPP_LMS_ROOT_URL | default("http://127.0.0.1:8
ECOMMERCE_SESSION_EXPIRE_AT_BROWSER_CLOSE
:
false
ECOMMERCE_SECRET_KEY
:
'
Your
secret
key
here'
ECOMMERCE_TIME_ZONE
:
'
UTC'
ECOMMERCE_LANGUAGE_CODE
:
'
en-us'
ECOMMERCE_LANGUAGE_CODE
:
'
en'
ECOMMERCE_LANGUAGE_COOKIE_NAME
:
'
openedx-language-preference'
ECOMMERCE_EDX_API_KEY
:
'
PUT_YOUR_API_KEY_HERE'
# This should match the value set for edxapp
ECOMMERCE_ECOMMERCE_URL_ROOT
:
'
http://localhost:8002'
ECOMMERCE_LOGOUT_URL
:
'
{{
ECOMMERCE_ECOMMERCE_URL_ROOT
}}/logout/'
...
...
@@ -146,6 +147,7 @@ ECOMMERCE_SERVICE_CONFIG:
SECRET_KEY
:
'
{{
ECOMMERCE_SECRET_KEY
}}'
TIME_ZONE
:
'
{{
ECOMMERCE_TIME_ZONE
}}'
LANGUAGE_COOKIE_NAME
:
'
{{
ECOMMERCE_LANGUAGE_COOKIE_NAME
}}'
LANGUAGE_CODE
:
'
{{
ECOMMERCE_LANGUAGE_CODE
}}'
EDX_API_KEY
:
'
{{
ECOMMERCE_EDX_API_KEY
}}'
OSCAR_FROM_EMAIL
:
'
{{
ECOMMERCE_OSCAR_FROM_EMAIL
}}'
...
...
This diff is collapsed.
Click to expand it.
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