mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
Switch make init to use manage.py directly instead of awx-manage, saves from having to install in order to do an init
This commit is contained in:
4
Makefile
4
Makefile
@@ -273,9 +273,9 @@ version_file:
|
|||||||
# Do any one-time init tasks.
|
# Do any one-time init tasks.
|
||||||
init:
|
init:
|
||||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||||
awx-manage register_instance --primary --hostname=127.0.0.1; \
|
$(PYTHON) manage.py register_instance --primary --hostname=127.0.0.1; \
|
||||||
else \
|
else \
|
||||||
sudo awx-manage register_instance --primary --hostname=127.0.0.1; \
|
sudo $(PYTHON) manage.py register_instance --primary --hostname=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