Clone the Q repo and initialize the VM.
$ git clone https://github.com/qntfy/q.git
$ cd q
$ vagrant up
Some configuration options are at the top of the Vagrantfile
.
Variable | Effect |
---|---|
$num_instances |
How many Q instances vagrant up will turn on (default: 1) |
$instance_name_prefix |
Instances are named prefix-01, prefix-02, etc (default: q) |
$vm_gui |
false = headless, true = gui (default: false) |
$vm_memory |
Amount of memory allocated per instance (default: 1024KB) |
$vm_cpus |
Number of virtual CPUs for VM (default: 1) |
The easiest way to run Q in a VM is to install both VirtualBox and Vagrant.
brew cask install virtualbox
brew cask install vagrant
More information on Homebrew: http://brew.sh.
Download and install VirtualBox for your platform: https://www.virtualbox.org/wiki/Downloads
Follow Vagrant's installation guide: https://docs.vagrantup.com/v2/installation/