Merge pull request #3738 from wwitzel3/nginx-updates

make static directory before collecting
This commit is contained in:
Wayne Witzel III 2016-10-18 13:01:12 -04:00 committed by GitHub
commit 699e2c9c6f

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 \