Difference between revisions of "Managed Virtual Machine (MVM)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Installation and configuration)
Line 23: Line 23:
 
** install Vagrant
 
** install Vagrant
 
* clone the project/development kit repository (eg: git clone git@git.dave.eu:''project-name''/mvm.git)
 
* clone the project/development kit repository (eg: git clone git@git.dave.eu:''project-name''/mvm.git)
* enter repository cloned directory  
+
* enter repository cloned directory
 +
** create ''data'' directory into parent directory
 
** copy or move ''vagrant.yml.sample'' to ''vagrant.yml''
 
** copy or move ''vagrant.yml.sample'' to ''vagrant.yml''
 
** customize VM settings (vagrant.yml): number of CPUs and RAM size
 
** customize VM settings (vagrant.yml): number of CPUs and RAM size

Revision as of 14:24, 16 March 2016

Introduction[edit | edit source]

Managed Virtual Machine (MVM) is a virtual machine that allows developers to start using DAVE's platform without wasting time in manually installing and configuring the development environment.

The MVM is created and managed using Vagrant (https://www.vagrantup.com/), which is a powerful tool that creates, configures and manages virtual development environments. Vagrant uses Providers to integrate with the hypervisor that provides the virtual machines, that for the MVM is Oracle VirtualBox (https://www.virtualbox.org/). The entire virtual environment configuration is stored in simple plain text files, including the instructions for the provisioning tool (Puppet, https://puppetlabs.com/), so that installation, management and update of the MVM is straightforward.

Mvm-vagrant-bd.png

The MVM comes with all the development tools and source code, pre-configured, and requires only a minimal setup by the end user.

Installation and configuration[edit | edit source]

To generate the image:

vagrant up