Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This is a light touch blueprint for Aegir development.
You will need the following to be able to use this:
Requirements
- Drush vagrant and its dependencies
- Fabric
Usage
First, build yourself a new project using Drush vagrant:
drush -y vb --blueprint=aegir_developer --hosts=0 --project-name=PROJECT-NAME
Then cd to that directory:
cd `drush @PROJECT-NAME.project vr`
And run:
fab vagrant aegir_developer_install:uri="PROJECT-NAME.project"
This will install a 6.x-2.x version of Aegir on the Vagrant machine for you to use.
Design
What you'll get here is a VM that doesn't interact too deeply with the host machine, so that you can develop without having to set lots of things up.
In your project directory you'll get provision
and hostmaster
directories that are used by the guest VM to run and install Aegir.
It's using port forwarding to access the Aegir frontend, so you'll want to add your hostname to the hosts file, but point it at 127.0.0.1 and then copy the one-time login link and add a port, vagrant will tell you during boot which one is mapped to port 80 on the guest.
I'm working on getting this automated, or we could just use the networking stuff from Drush Vagrant
Tips and hints
If you want to re-install your Aegir installation and start again, the easiest thing to do is:
drush @PROJECT-NAME.project vrb
fab vagrant aegir_developer_install
This will destroy the VM and re-install.
Project information
- Module categories: Developer Tools
- Created by Steven Jones on , updated