kaitlinhuben/svelTest — pull request #10 by chrso (2014-03-22 20:42:23+00:00)
Title: Vagrant

The changes allow us to use Vagrant (with Virtualbox) to start and run identical VMs so that we can test on the same environment. Right now, the VM has these configs:

| Version
---------------- | ------------------
OS | Ubuntu 12.04 (Precise 32)
Python | 2.7.3
Java | 1.6.0_30
Yacc | Bison 2.5
Lex | Flex 2.5.35
PLY | 3.4-2build1

### Simple tutorial:
1. Start VM

$ vagrant up
2. SSH into guest machine

$ vagrant ssh
3. Access file on host machine from guest machine

$ cd /vagrant
4. Run our svelLex.py lexer on the guest machine

$ cd lib

$ python svelLex.py

...
5. Exit guest machine

$ exit
6. Teardown VM (halt, suspend, destroy)

$ vagrant halt

There's more info in the google doc "Vagrant Experimentation" including the process I went through, a (very) brief tutorial and some explanations.