register_instance in make develop

This commit is contained in:
Luke Sneeringer 2014-10-20 14:30:27 -05:00
parent 3918e39723
commit 47cdb6fc57

View File

@ -138,9 +138,11 @@ develop:
@if [ "$(VIRTUAL_ENV)" ]; then \
pip uninstall -y awx; \
$(PYTHON) setup.py develop; \
awx-manage register_instance --primary --ip-address=127.0.0.1
else \
sudo pip uninstall -y awx; \
sudo $(PYTHON) setup.py develop; \
sudo awx-manage register_instance --primary --ip-address=127.0.0.1
fi
# Refresh development environment after pulling new code.