This provides a base Vagrant+Chef Solo for local development.
- Install VirtualBox.
Get a copy of the repo.
git clone git://github.com/wfarr/cs2200-base.git
gem install vagrant vagrant box add lucid64 http://files.vagrantup.com/lucid64.box
Create a VM
vagrant up vagrant ssh
Using the VM
All directories named either hw* or project* will be available in the ~vagrant directory. These are linked to your local filesystem, which allows you to work with the code in your local editor and run it against the assembler via the virtual machine.
Customize the Vagrantfile to change things like the amount of memory allocated to the VM (currently 512MB).
When you want to shut down the VM, you can do:
If you modify cookbooks and wish to re-configure an exisiting instance, you may:
To shut down and remove a VM, use:
To create a new VM or boot an existing CS 2200 VM: