mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
No need for dependent containers in assets tasks
This commit is contained in:
parent
041113e9ee
commit
23ce23e76d
8
Makefile
8
Makefile
@ -108,24 +108,24 @@ assets: assets-lms assets-cms ## Generate production-ready static assets
|
||||
assets-development: assets-development-lms assets-development-cms ## Generate static assets for local development
|
||||
|
||||
assets-lms:
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) lms bash -c \
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps lms bash -c \
|
||||
"NODE_ENV=production ./node_modules/.bin/webpack --config=webpack.prod.config.js \
|
||||
&& ./manage.py lms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass lms \
|
||||
&& python -c \"import pavelib.assets; pavelib.assets.collect_assets(['lms'], '$(EDX_PLATFORM_SETTINGS)')\""
|
||||
assets-cms:
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) cms bash -c \
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps cms bash -c \
|
||||
"NODE_ENV=production ./node_modules/.bin/webpack --config=webpack.prod.config.js \
|
||||
&& ./manage.py cms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass studio \
|
||||
&& python -c \"import pavelib.assets; pavelib.assets.collect_assets(['studio'], '$(EDX_PLATFORM_SETTINGS)')\""
|
||||
assets-development-lms:
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) lms bash -c \
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps lms bash -c \
|
||||
"xmodule_assets common/static/xmodule \
|
||||
&& python -c \"import pavelib.assets; pavelib.assets.process_npm_assets()\"
|
||||
&& NODE_ENV=development ./node_modules/.bin/webpack --config=webpack.dev.config.js \
|
||||
&& ./manage.py lms --settings=$(EDX_PLATFORM_SETTINGS) compile_sass lms \
|
||||
&& python -c \"import pavelib.assets; pavelib.assets.collect_assets(['lms'], '$(EDX_PLATFORM_SETTINGS)')\""
|
||||
assets-development-cms:
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) cms bash -c \
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) --no-deps cms bash -c \
|
||||
"xmodule_assets common/static/xmodule \
|
||||
&& python -c \"import pavelib.assets; pavelib.assets.process_npm_assets()\"
|
||||
&& NODE_ENV=development ./node_modules/.bin/webpack --config=webpack.dev.config.js \
|
||||
|
Loading…
Reference in New Issue
Block a user