2014-01-18 01:44:57 +00:00
|
|
|
# Vagrant + Ubuntu building instructions
|
2014-01-17 12:53:15 +00:00
|
|
|
|
|
|
|
This will run a virtual machine with all tools required to build and run twister
|
|
|
|
using Vagrant.
|
2014-01-18 01:44:57 +00:00
|
|
|
This will probably work wherever vagrant can be installed so Windows, Mac, Linux
|
|
|
|
at least
|
2014-01-17 12:53:15 +00:00
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
* http://www.vagrantup.com/
|
|
|
|
* https://www.virtualbox.org/
|
|
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
1. git clone https://github.com/miguelfreitas/twister-core.git
|
2014-01-18 01:44:57 +00:00
|
|
|
2. cd twister-core/contrib/buildenv
|
|
|
|
3. vagrant up
|
2014-01-17 12:53:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Tweeking
|
2014-01-18 01:44:57 +00:00
|
|
|
If you have lots of ram and CPU in your machine, feel free to use it.
|
|
|
|
Before running vagrant up please set
|
|
|
|
VAGRANT_RAM and/or VAGRANT_CPU environment variables to whatever is fitting.
|
|
|
|
Default is 1 CPU and 1024 MB RAM.
|
|
|
|
|
|
|
|
Example with 2 CPU and 4096 MB RAM.
|
|
|
|
```bash
|
|
|
|
export VAGRANT_CPU=2
|
|
|
|
export VAGRANT_RAM=4096
|
|
|
|
```
|