Skip to content

Commit

Permalink
build: update jinja template
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 15, 2024
1 parent 3a4df7e commit 54a9035
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
{% for override in edxapp_staticfiles_storage_overrides %}
sudo -E -H -u {{ edxapp_user }} \
env "PATH=$PATH" "STATICFILES_STORAGE={{ override }}" \
{{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS
{{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS
{% endfor %}
{% else %}
sudo -E -H -u {{ edxapp_user }} \
env "PATH=$PATH" \
{{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS
{{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS
{% endif %}

0 comments on commit 54a9035

Please sign in to comment.