Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.38 KB

VAGRANT.md

File metadata and controls

40 lines (27 loc) · 1.38 KB

Using Q With Vagrant

Clone the Q repo and initialize the VM.

$ git clone https://github.com/qntfy/q.git
$ cd q
$ vagrant up

Configuration

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)

Running Q In A VM

The easiest way to run Q in a VM is to install both VirtualBox and Vagrant.

Installing With Homebrew

brew cask install virtualbox
brew cask install vagrant

More information on Homebrew: http://brew.sh.

Installing By Hand

Download and install VirtualBox for your platform: https://www.virtualbox.org/wiki/Downloads

Follow Vagrant's installation guide: https://docs.vagrantup.com/v2/installation/