7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-08 17:02:19 +00:00
This commit is contained in:
Régis Behmo 2017-07-19 09:25:00 +02:00
parent 38562024bc
commit b6aacd4812
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ Create necessary data folders:
docker-compose up --build docker-compose up --build
Container data is in `./data`. The LMS will be reachable at the following url: [http://openedx.localhost](http://openedx.localhost).
## Development tips & tricks ## Development tips & tricks

View File

@ -1,5 +1,5 @@
{ {
"SITE_NAME": "myopenedx.com", "SITE_NAME": "openedx.localhost",
"BOOK_URL": "", "BOOK_URL": "",
"LOG_DIR": "/openedx/logs", "LOG_DIR": "/openedx/logs",
"LOGGING_ENV": "sandbox", "LOGGING_ENV": "sandbox",
@ -8,10 +8,10 @@
"FEATURES": { "FEATURES": {
"PREVIEW_LMS_BASE": "localhost:8000" "PREVIEW_LMS_BASE": "localhost:8000"
}, },
"LMS_ROOT_URL": "http://myopenedx.com", "LMS_ROOT_URL": "http://openedx.localhost",
"CMS_ROOT_URL": "http://studio.myopenedx.com", "CMS_ROOT_URL": "http://studio.openedx.localhost",
"CMS_BASE": "studio.myopenedx.com", "CMS_BASE": "studio.openedx.localhost",
"LMS_BASE": "myopenedx.com", "LMS_BASE": "openedx.localhost",
"CELERY_BROKER_HOSTNAME": "localhost", "CELERY_BROKER_HOSTNAME": "localhost",
"CELERY_BROKER_TRANSPORT": "amqp", "CELERY_BROKER_TRANSPORT": "amqp",
"MEDIA_ROOT": "/openedx/uploads/", "MEDIA_ROOT": "/openedx/uploads/",

View File

@ -4,7 +4,7 @@ upstream lms-backend {
server { server {
listen 80; listen 80;
server_name myopenedx.com; server_name openedx.localhost;
# Prevent invalid display courseware in IE 10+ with high privacy settings # Prevent invalid display courseware in IE 10+ with high privacy settings
add_header P3P 'CP="Open edX does not have a P3P policy."'; add_header P3P 'CP="Open edX does not have a P3P policy."';