diff --git a/README.md b/README.md index 4eee41b..06f3db5 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Create necessary data folders: 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 diff --git a/lms/config/lms.env.json b/lms/config/lms.env.json index 10d574b..b8cb54b 100644 --- a/lms/config/lms.env.json +++ b/lms/config/lms.env.json @@ -1,5 +1,5 @@ { - "SITE_NAME": "myopenedx.com", + "SITE_NAME": "openedx.localhost", "BOOK_URL": "", "LOG_DIR": "/openedx/logs", "LOGGING_ENV": "sandbox", @@ -8,10 +8,10 @@ "FEATURES": { "PREVIEW_LMS_BASE": "localhost:8000" }, - "LMS_ROOT_URL": "http://myopenedx.com", - "CMS_ROOT_URL": "http://studio.myopenedx.com", - "CMS_BASE": "studio.myopenedx.com", - "LMS_BASE": "myopenedx.com", + "LMS_ROOT_URL": "http://openedx.localhost", + "CMS_ROOT_URL": "http://studio.openedx.localhost", + "CMS_BASE": "studio.openedx.localhost", + "LMS_BASE": "openedx.localhost", "CELERY_BROKER_HOSTNAME": "localhost", "CELERY_BROKER_TRANSPORT": "amqp", "MEDIA_ROOT": "/openedx/uploads/", diff --git a/nginx/lms.conf b/nginx/lms.conf index 8ea29a9..8f84282 100644 --- a/nginx/lms.conf +++ b/nginx/lms.conf @@ -4,7 +4,7 @@ upstream lms-backend { server { listen 80; - server_name myopenedx.com; + server_name openedx.localhost; # Prevent invalid display courseware in IE 10+ with high privacy settings add_header P3P 'CP="Open edX does not have a P3P policy."';