mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Merge branch 'master' into nightly
This commit is contained in:
commit
26c68c6b1d
@ -18,6 +18,8 @@ Every user-facing change should have an entry in this changelog. Please respect
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Fix] Ignore Python plugins that cannot be loaded. (by @regisb)
|
||||
- [Improvement] Faster and more reliable builds with `npm clean-install` instead of `npm install`. (by @regisb. Thanks @ghassanmas!)
|
||||
- [Fix] Fix 500 error during studio login. (by @regisb)
|
||||
- [Fix] Fix updates for the Caddy deployment in multi-node Kubernetes clusters (#660). Previously, Caddy configuration updates might fail if the Kubernetes cluster had more than one worker node. (by @fghaas)
|
||||
|
||||
|
@ -233,7 +233,7 @@ Then, you should run the following commands::
|
||||
pip install --requirement requirements/edx/development.txt
|
||||
|
||||
# Install nodejs packages in node_modules/
|
||||
npm install
|
||||
npm clean-install
|
||||
|
||||
# Rebuild static assets
|
||||
openedx-assets build --env=dev
|
||||
|
@ -72,8 +72,8 @@ def load_all(names: t.Iterable[str]) -> None:
|
||||
for name in names:
|
||||
try:
|
||||
load(name)
|
||||
except exceptions.TutorError as e:
|
||||
fmt.echo_alert(f"Failed to enable plugin '{name}': {e.args[0]}")
|
||||
except Exception as e:
|
||||
fmt.echo_alert(f"Failed to enable plugin '{name}': {e}")
|
||||
hooks.Actions.PLUGINS_LOADED.do()
|
||||
|
||||
|
||||
|
@ -109,8 +109,9 @@ RUN nodeenv /openedx/nodeenv --node=12.13.0 --prebuilt
|
||||
# Install nodejs requirements
|
||||
ARG NPM_REGISTRY={{ NPM_REGISTRY }}
|
||||
COPY --from=code /openedx/edx-platform/package.json /openedx/edx-platform/package.json
|
||||
COPY --from=code /openedx/edx-platform/package-lock.json /openedx/edx-platform/package-lock.json
|
||||
WORKDIR /openedx/edx-platform
|
||||
RUN npm install --verbose --registry=$NPM_REGISTRY
|
||||
RUN npm clean-install --verbose --registry=$NPM_REGISTRY
|
||||
|
||||
###### Production image with system and python requirements
|
||||
FROM minimal as production
|
||||
|
Loading…
Reference in New Issue
Block a user