Difference between revisions of "WOCE Build Environment"
Revision as of 13:32, 5 July 2012
Develop in your environment, Build in ours.
WOCE Build Environment
The WOCE BE uses Vagrant and Virtualbox to create a self-contained build environment for use on OSX and Linux Hosts.
Our goal is to create a consistent build setup for developers so that if there are issues with builds we can know that we all are singing off the same sheet of music.
x86 based computer running OSX(10.5 minimum) or Linux(32bit or 64bit).
Enough resources to allot:
- 1 "Virtual CPU"
- 1GB "Virtual RAM"
- 20GB "Virtual HD"
1. From your development host go to Vagrant Downloads and download the latest version for your host.
2. From your development host go to Virtualbox Downloads and download the latest version for your host.
3. Install Virtualbox
4. Install Vagrant (Vagrant Getting Started Guide)
5. From a Command Prompt in the directory you have set aside for the build environment
git clone git://www.github.com/woce/woce-be
From a Command Prompt in the woce-be directory:
Bring the VM online
(You can ignore stdin: not a tty errors- these are normal)
SSH into the VM
From here, there will be a woce-build directory in /vagrant/home.
And when you're done: Shut down the VM