mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
Vagrant Local Development
This commit adds playbooks and files necessary to do local development from within Vagrant. These playbooks start with a fresh Ubuntu 12.04 machine and: - Install Ansible - Install the Tower nightly - Install all components to exactly mirror production, except Apache - Install uwsgi and nginx for local development (since Apache lacks a working auto-reload) This isn't entirely perfect -- in particular, developing on task code is probably challenging until I figure out how to get celery not to read from the install, but it is a very easy way to get 90% of the way there very, very quickly.
This commit is contained in:
@@ -47,6 +47,9 @@ if 'django_jenkins' in INSTALLED_APPS:
|
||||
JSHINT_CHECKED_FILES = [os.path.join(BASE_DIR, 'ui/static/js'),
|
||||
os.path.join(BASE_DIR, 'ui/static/lib/ansible'),]
|
||||
|
||||
# If there is an `/etc/awx/settings.py`, include it.
|
||||
include(optional('/etc/awx/settings.py'), scope=locals())
|
||||
|
||||
# If any local_*.py files are present in awx/settings/, use them to override
|
||||
# default settings for development. If not present, we can still run using
|
||||
# only the defaults.
|
||||
|
||||
Reference in New Issue
Block a user