tessel / t2-vm

Run and develop for Tessel 2 in a virtual machine.
Apache License 2.0
39 stars 15 forks source link

Creates a t2-vm command to manage virtualbox lifecycle. #5

Closed tcr closed 9 years ago

tcr commented 9 years ago

NOTE: Currently only tested on OS X. Requires Virtualbox.

Vagrant is a poor fit for our model if instantiating a VM, initializing it over UART, and then running it (intermittently). This branch proposes a command that can eventually be installed over npm:

git clone https://github.com/tessel/t2-vm
cd t2-vm
git checkout tcr-command
npm link --local
t2-vm create
t2-vm run
t2-vm destroy

Example usage:

image

Here we manage the lifecycle of the VM on the left pane. While t2-vm run is run, we get the hostname and a message that the VM is online. Immediately, we can push code to the target hostname (see right pane). Then we can destroy the VM or just kill the t2-vm run process at our leisure.

tcr commented 9 years ago

Merged into master. Watch or star this repository for future updates.