mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 07:54:03 +00:00
Change LMS url to http://openedx.localhost
This commit is contained in:
parent
38562024bc
commit
b6aacd4812
@ -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
|
||||||
|
|
||||||
|
@ -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/",
|
||||||
|
@ -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."';
|
||||||
|
Loading…
Reference in New Issue
Block a user