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
Jun 28, 2017
by
Christopher Lee
Committed by
GitHub
Jun 28, 2017
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
Hide 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
-
Role: neo4j
-
Enabled splunk forwarding for neo4j logs.
-
Enabled splunk forwarding for neo4j logs.
-
Increased maximum amount of open files to 40000, as suggested by neo4j.
-
Increased maximum amount of open files to 40000, as suggested by neo4j.
...
...
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
...
@@ -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_SESSION_EXPIRE_AT_BROWSER_CLOSE
:
false
ECOMMERCE_SECRET_KEY
:
'
Your
secret
key
here'
ECOMMERCE_SECRET_KEY
:
'
Your
secret
key
here'
ECOMMERCE_TIME_ZONE
:
'
UTC'
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_EDX_API_KEY
:
'
PUT_YOUR_API_KEY_HERE'
# This should match the value set for edxapp
ECOMMERCE_ECOMMERCE_URL_ROOT
:
'
http://localhost:8002'
ECOMMERCE_ECOMMERCE_URL_ROOT
:
'
http://localhost:8002'
ECOMMERCE_LOGOUT_URL
:
'
{{
ECOMMERCE_ECOMMERCE_URL_ROOT
}}/logout/'
ECOMMERCE_LOGOUT_URL
:
'
{{
ECOMMERCE_ECOMMERCE_URL_ROOT
}}/logout/'
...
@@ -146,6 +147,7 @@ ECOMMERCE_SERVICE_CONFIG:
...
@@ -146,6 +147,7 @@ ECOMMERCE_SERVICE_CONFIG:
SECRET_KEY
:
'
{{
ECOMMERCE_SECRET_KEY
}}'
SECRET_KEY
:
'
{{
ECOMMERCE_SECRET_KEY
}}'
TIME_ZONE
:
'
{{
ECOMMERCE_TIME_ZONE
}}'
TIME_ZONE
:
'
{{
ECOMMERCE_TIME_ZONE
}}'
LANGUAGE_COOKIE_NAME
:
'
{{
ECOMMERCE_LANGUAGE_COOKIE_NAME
}}'
LANGUAGE_CODE
:
'
{{
ECOMMERCE_LANGUAGE_CODE
}}'
LANGUAGE_CODE
:
'
{{
ECOMMERCE_LANGUAGE_CODE
}}'
EDX_API_KEY
:
'
{{
ECOMMERCE_EDX_API_KEY
}}'
EDX_API_KEY
:
'
{{
ECOMMERCE_EDX_API_KEY
}}'
OSCAR_FROM_EMAIL
:
'
{{
ECOMMERCE_OSCAR_FROM_EMAIL
}}'
OSCAR_FROM_EMAIL
:
'
{{
ECOMMERCE_OSCAR_FROM_EMAIL
}}'
...
...
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