Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
db339d3e
Commit
db339d3e
authored
Oct 19, 2016
by
Awais Qureshi
Committed by
GitHub
Oct 19, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #360 from edx/awais786/ECOM-5435-django-ses
Ecom 5435 django ses
parents
e634129d
645cf9da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletions
+18
-1
course_discovery/settings/private.py.example
+16
-0
course_discovery/settings/production.py
+1
-1
requirements/production.txt
+1
-0
No files found.
course_discovery/settings/private.py.example
View file @
db339d3e
...
...
@@ -2,3 +2,19 @@ SOCIAL_AUTH_EDX_OIDC_KEY = 'replace-me'
SOCIAL_AUTH_EDX_OIDC_SECRET = 'replace-me'
SOCIAL_AUTH_EDX_OIDC_URL_ROOT = 'http://127.0.0.1:8000/oauth'
SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY = SOCIAL_AUTH_EDX_OIDC_SECRET
# For default email backend following settings require
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_PORT = 25
EMAIL_USE_TLS = False
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
# For django-ses following credentials require for sending emails. For more details check the
# documentation https://github.com/django-ses/django-ses.
EMAIL_BACKEND = 'django_ses.SESBackend'
AWS_ACCESS_KEY_ID ='replace-me'
AWS_SECRET_ACCESS_KEY = 'replace-me'
AWS_SES_REGION_NAME = 'replace-me'
AWS_SES_REGION_ENDPOINT = 'replace-me'
course_discovery/settings/production.py
View file @
db339d3e
...
...
@@ -19,7 +19,7 @@ LOGGING['handlers']['local']['level'] = 'INFO'
# the values read from disk should UPDATE the pre-configured dicts.
DICT_UPDATE_KEYS
=
(
'JWT_AUTH'
,)
# This may be overridden by the YAML in
PROGRAMS
_CFG, but it should be here as a default.
# This may be overridden by the YAML in
DISCOVERY
_CFG, but it should be here as a default.
MEDIA_STORAGE_BACKEND
=
{}
CONFIG_FILE
=
get_env_setting
(
'COURSE_DISCOVERY_CFG'
)
...
...
requirements/production.txt
View file @
db339d3e
...
...
@@ -2,6 +2,7 @@
-r base.txt
certifi==2016.8.8
django-ses==0.8.1
gevent==1.1.2
gunicorn==19.6.0
mysqlclient==1.3.7
...
...
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