Commit f9637ec1 by Kevin Falcone

Revert "clear existing assets before copying new assets"

parent 67c055e2
...@@ -378,7 +378,7 @@ def collect_assets(systems, settings): ...@@ -378,7 +378,7 @@ def collect_assets(systems, settings):
`settings` is the Django settings module to use. `settings` is the Django settings module to use.
""" """
for sys in systems: for sys in systems:
sh(django_cmd(sys, settings, "collectstatic --clear --noinput")) sh(django_cmd(sys, settings, "collectstatic --noinput > /dev/null"))
print("\t\tFinished collecting {} assets.".format(sys)) print("\t\tFinished collecting {} assets.".format(sys))
......
...@@ -28,7 +28,7 @@ EXPECTED_PREPROCESS_ASSETS_COMMAND = ( ...@@ -28,7 +28,7 @@ EXPECTED_PREPROCESS_ASSETS_COMMAND = (
u" {system}/static/sass/*.scss {system}/static/themed_sass" u" {system}/static/sass/*.scss {system}/static/themed_sass"
) )
EXPECTED_COLLECT_STATIC_COMMAND = ( EXPECTED_COLLECT_STATIC_COMMAND = (
u"python manage.py {system} --settings={asset_settings} collectstatic --clear --noinput" u"python manage.py {system} --settings={asset_settings} collectstatic --noinput > /dev/null"
) )
EXPECTED_CELERY_COMMAND = ( EXPECTED_CELERY_COMMAND = (
u"python manage.py lms --settings={settings} celery worker --beat --loglevel=INFO --pythonpath=." u"python manage.py lms --settings={settings} celery worker --beat --loglevel=INFO --pythonpath=."
......
local_repo local_repo
remote_repo remote_repo
staticfiles
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment