make static directory before collecting

This commit is contained in:
Wayne Witzel III
2016-10-18 12:58:11 -04:00
parent f5e10bc57c
commit e716f6e259

View File

@@ -395,7 +395,7 @@ collectstatic:
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/tower/bin/activate; \
fi; \
$(PYTHON) manage.py collectstatic --clear --noinput > /dev/null 2>&1
mkdir -p awx/public/static && $(PYTHON) manage.py collectstatic --clear --noinput > /dev/null 2>&1
uwsgi: collectstatic
@if [ "$(VENV_BASE)" ]; then \