mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-09 09:12:21 +00:00
No longer refer to 'edxapp'
'edxapp' is an old reference to the vagrant image and it does not make much sense.
This commit is contained in:
parent
1f7e68c662
commit
bda9e042f9
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
.*.swp
|
.*.swp
|
||||||
config.json
|
config.json
|
||||||
edxapp/config/*.env.json
|
openedx/config/*.env.json
|
||||||
edxapp/config/*.auth.json
|
openedx/config/*.auth.json
|
||||||
nginx/config/*.conf
|
nginx/config/*.conf
|
||||||
mysql/config/database
|
mysql/config/database
|
||||||
mysql/config/username
|
mysql/config/username
|
||||||
|
|
16
configure
vendored
16
configure
vendored
|
@ -133,23 +133,23 @@ def main():
|
||||||
|
|
||||||
# Open edX
|
# Open edX
|
||||||
substitute(
|
substitute(
|
||||||
os.path.join('edxapp', 'config', 'templates', 'lms.env.json.templ'),
|
os.path.join('openedx', 'config', 'templates', 'lms.env.json.templ'),
|
||||||
os.path.join('edxapp', 'config', 'lms.env.json'),
|
os.path.join('openedx', 'config', 'lms.env.json'),
|
||||||
**configurator.as_dict()
|
**configurator.as_dict()
|
||||||
)
|
)
|
||||||
substitute(
|
substitute(
|
||||||
os.path.join('edxapp', 'config', 'templates', 'cms.env.json.templ'),
|
os.path.join('openedx', 'config', 'templates', 'cms.env.json.templ'),
|
||||||
os.path.join('edxapp', 'config', 'cms.env.json'),
|
os.path.join('openedx', 'config', 'cms.env.json'),
|
||||||
**configurator.as_dict()
|
**configurator.as_dict()
|
||||||
)
|
)
|
||||||
substitute(
|
substitute(
|
||||||
os.path.join('edxapp', 'config', 'templates', 'lms.auth.json.templ'),
|
os.path.join('openedx', 'config', 'templates', 'lms.auth.json.templ'),
|
||||||
os.path.join('edxapp', 'config', 'lms.auth.json'),
|
os.path.join('openedx', 'config', 'lms.auth.json'),
|
||||||
**configurator.as_dict()
|
**configurator.as_dict()
|
||||||
)
|
)
|
||||||
substitute(
|
substitute(
|
||||||
os.path.join('edxapp', 'config', 'templates', 'cms.auth.json.templ'),
|
os.path.join('openedx', 'config', 'templates', 'cms.auth.json.templ'),
|
||||||
os.path.join('edxapp', 'config', 'cms.auth.json'),
|
os.path.join('openedx', 'config', 'cms.auth.json'),
|
||||||
**configurator.as_dict()
|
**configurator.as_dict()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ services:
|
||||||
|
|
||||||
lms:
|
lms:
|
||||||
build:
|
build:
|
||||||
context: ./edxapp
|
context: ./openedx
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: lms
|
SERVICE_VARIANT: lms
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -70,7 +70,7 @@ services:
|
||||||
|
|
||||||
cms:
|
cms:
|
||||||
build:
|
build:
|
||||||
context: ./edxapp
|
context: ./openedx
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: cms
|
SERVICE_VARIANT: cms
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -84,7 +84,7 @@ services:
|
||||||
# We could probably create one service per queue here. For small instances, it is not necessary.
|
# We could probably create one service per queue here. For small instances, it is not necessary.
|
||||||
lms_worker:
|
lms_worker:
|
||||||
build:
|
build:
|
||||||
context: ./edxapp
|
context: ./openedx
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: lms
|
SERVICE_VARIANT: lms
|
||||||
command: ./manage.py lms celery worker --loglevel=info --hostname=edx.lms.core.default.%%h --maxtasksperchild 100
|
command: ./manage.py lms celery worker --loglevel=info --hostname=edx.lms.core.default.%%h --maxtasksperchild 100
|
||||||
|
@ -98,7 +98,7 @@ services:
|
||||||
|
|
||||||
cms_worker:
|
cms_worker:
|
||||||
build:
|
build:
|
||||||
context: ./edxapp
|
context: ./openedx
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: cms
|
SERVICE_VARIANT: cms
|
||||||
command: ./manage.py cms celery worker --loglevel=info --hostname=edx.cms.core.default.%%h --maxtasksperchild 100
|
command: ./manage.py cms celery worker --loglevel=info --hostname=edx.cms.core.default.%%h --maxtasksperchild 100
|
||||||
|
|
|
@ -7,7 +7,7 @@ RUN apt update && \
|
||||||
apt upgrade -y && \
|
apt upgrade -y && \
|
||||||
# Global requirements
|
# Global requirements
|
||||||
apt install -y language-pack-en git python-virtualenv build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc g++ && \
|
apt install -y language-pack-en git python-virtualenv build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc g++ && \
|
||||||
# edxapp requirements
|
# openedx requirements
|
||||||
apt install -y gettext gfortran graphviz graphviz-dev libffi-dev libfreetype6-dev libgeos-dev libjpeg8-dev liblapack-dev libpng12-dev libxml2-dev libxmlsec1-dev libxslt1-dev nodejs npm ntp pkg-config && \
|
apt install -y gettext gfortran graphviz graphviz-dev libffi-dev libfreetype6-dev libgeos-dev libjpeg8-dev liblapack-dev libpng12-dev libxml2-dev libxmlsec1-dev libxslt1-dev nodejs npm ntp pkg-config && \
|
||||||
# Our requirements
|
# Our requirements
|
||||||
apt install -y mysql-client
|
apt install -y mysql-client
|
Loading…
Reference in New Issue
Block a user