From 47cdb6fc5748846ba03f4b8f0e9e70e311050d4e Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Mon, 20 Oct 2014 14:30:27 -0500 Subject: [PATCH] register_instance in make develop --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4fc4c5a567..77f54cf1d6 100644 --- a/Makefile +++ b/Makefile @@ -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.