Skip to content

Commit

Permalink
build: update jinja template to run npm webpack and compile-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 25, 2024
1 parent 0200ac8 commit 467f860
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sudo -E -H -u {{ edxapp_user }} \
{% endfor %}
{% else %}
sudo -E -H -u {{ edxapp_user }} \
env "PATH=$PATH" "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS
env "PATH=$PATH" "STATIC_ROOT=/edx/var/edxapp/staticfiles" "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
npm run webpack && npm run compile-sass && npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS
{% endif %}

0 comments on commit 467f860

Please sign in to comment.