1 IoTivity Build VM from Vagrant
2 ==============================
4 Vagrant can use the files in this directory to provision an Ubuntu 12.04
5 development environment for IoTivity. To create a new VM type
9 in the current directory. You can then connect to the VM with
13 On the newly provisioned VM, the IoTivity repo will be checked out in
14 the `iotivity` directory in the vagrant user's home directory and
15 configured to use the Arduino SDKs which are automatically downloaded
16 and installed in the home directory and patched when the VM is provisioned.
18 Using Vagrant to build a VM might be useful for:
20 * Testing the build process on a clean install to make sure all dependencies
23 * Configuring a Linux build environment for Windows or Mac users
25 * Configuring build VMs for build automation
27 The bootstrap.sh and iotivity-setup.sh files can be used independent of
28 Vagrant to configure a existing Ubuntu environment. How to do so is left
29 as an exercise for the reader. (Hint: try `sudo bootstrap.sh &&
32 For more information about Vagrant, please see https://docs.vagrantup.com/v2/
37 * The ${HOME}/.ssh/ directory contains config, id_rsa, id_rsa.pub, and
38 known_hosts, that when copied to the VM will allow connection to the
39 git repo. (And that you don't mind those files being copied to the VM.)
41 * If a USER environment variable, it has the user name to use for git
42 otherwise, USERNAME has the user ID for git. USER should work for
43 Linux and USERNAME works inside Git bash on Windows.
48 * Everything is dumped into the top-level directory. A cleaner layout
49 would be better (e.g., move the Arduino libraries to iotivity/extlibs).
51 * Verify on more configurations (tested on Git bash under Windows)
53 * Try with Ubuntu 14.04
55 * Have a more flexible way to determine the git user name