Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Fix the requirement upgrade PR by pinning django-webpack-loader to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schenedx committed Jul 9, 2021
1 parent 1b664b1 commit a15ebd8
Show file tree
Hide file tree
Showing 11 changed files with 479 additions and 289 deletions.
29 changes: 29 additions & 0 deletions analytics_dashboard/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,32 @@
########## DATA API CONFIGURATION
DATA_API_URL = os.getenv("API_SERVER_URL", DATA_API_URL)
########## END DATA API CONFIGURATION

ENABLE_AUTO_AUTH = True
ENABLE_COURSE_PERMISSIONS = False
SOCIAL_AUTH_EDX_OAUTH2_KEY = "insights-sso-key"
SOCIAL_AUTH_EDX_OAUTH2_SECRET = "insights-sso-secret"
SOCIAL_AUTH_EDX_OAUTH2_ISSUER = "http://localhost:18000"
SOCIAL_AUTH_EDX_OAUTH2_URL_ROOT = "http://localhost:18000"
SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL = "http://localhost:18000/logout"

BACKEND_SERVICE_EDX_OAUTH2_KEY = "insights-backend-service-key"
BACKEND_SERVICE_EDX_OAUTH2_SECRET = "insights-backend-service-secret"
BACKEND_SERVICE_EDX_OAUTH2_PROVIDER_URL = "http://localhost:18000/oauth2"


COURSE_API_URL = 'http://localhost:18000/api/courses/v1/'
GRADING_POLICY_API_URL = 'http://localhost:18000/api/grades/v1/'

# If no key is specified, the authenticated user's OAuth2 access token will be used.
COURSE_API_KEY = None
########## END COURSE API

########## MODULE_PREVIEW
MODULE_PREVIEW_URL = 'http://localhost:18000/xblock'
########## END MODULE_PREVIEW

JWT_AUTH = {
'JWT_AUTH_HEADER_PREFIX': 'JWT',
}
DATA_API_AUTH_TOKEN = 'edx'
1 change: 1 addition & 0 deletions analytics_dashboard/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}

ENABLE_AUTO_AUTH = True
ENABLE_AUTO_AUTH_USERNAME_PREFIX = 'test_'

LMS_COURSE_SHORTCUT_BASE_URL = 'http://lms-host'
CMS_COURSE_SHORTCUT_BASE_URL = 'http://cms-host'
Expand Down
Loading

0 comments on commit a15ebd8

Please sign in to comment.