mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
register_instance in make develop
This commit is contained in:
2
Makefile
2
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.
|
||||
|
||||
Reference in New Issue
Block a user