Updates to Makefile and CONTRIBUTING

...for the RabbitMQ to Redis changeout.
This commit is contained in:
Luke Sneeringer
2014-11-11 14:18:39 -06:00
parent 3a8c32444b
commit 1edd8f9c0a
4 changed files with 13 additions and 3 deletions

View File

@@ -152,13 +152,20 @@ 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
# Do any one-time init tasks.
init:
@if [ "$(VIRTUAL_ENV)" ]; then \
awx-manage register_instance --primary --ip-address=127.0.0.1; \
else \
sudo awx-manage register_instance --primary --ip-address=127.0.0.1; \
fi
# Refresh development environment after pulling new code.
refresh: clean requirements develop migrate