mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 08:27:29 -02:30
register_instance in make develop
This commit is contained in:
2
Makefile
2
Makefile
@@ -138,9 +138,11 @@ develop:
|
|||||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||||
pip uninstall -y awx; \
|
pip uninstall -y awx; \
|
||||||
$(PYTHON) setup.py develop; \
|
$(PYTHON) setup.py develop; \
|
||||||
|
awx-manage register_instance --primary --ip-address=127.0.0.1
|
||||||
else \
|
else \
|
||||||
sudo pip uninstall -y awx; \
|
sudo pip uninstall -y awx; \
|
||||||
sudo $(PYTHON) setup.py develop; \
|
sudo $(PYTHON) setup.py develop; \
|
||||||
|
sudo awx-manage register_instance --primary --ip-address=127.0.0.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Refresh development environment after pulling new code.
|
# Refresh development environment after pulling new code.
|
||||||
|
|||||||
Reference in New Issue
Block a user