I've been working on an exciting project that will make fresh VistA instance creation and development environment configuration and setup as easy as typing "vagrant up" into a clone of the OSEHRA VistA repository.NOTE: There are more complete directions available on GitHub. Please read those in addition to the overview below.Background:
Vagrant is a popular opensource tool for deploying development environments easily and in an automated way.
Vagrant starts with a vagrant box which is a base VM to get started with for your project. OSEHRA has integrated support for Ubuntu 12.04 LTS into our repository as our base box.
OSEHRA has also chosen Virtualbox as the default provisioner for Virtual Machines which works on Linux, Mac OS X, and Windows and is an open source tool, so the whole community should be able to use the tool out of the box.
The magic is a series of shell scripts that will automatically deploy GT.M, create a VistA environment, import a VistA environment (from a git repository) and run a dashboard build which runs all of the OSEHRA tests and submits them to the OSEHRA VistA dashboard which will verify that the VistA installation works.
The glue between the box and the shell scripts is the vagrantfile which is already created for the community which specifies the vagrant box to use and how to install VistA and GT.M into Ubuntu 12.04 LTS.Using:
It is as easy as cloning the OSEHRA VistA repository "git clone https://github.com/OSEHRA/VistA.git" type "cd Scripts/Install/Ubuntu" then type "vagrant up". The build process will than start. The process takes about an hour to run through all of the tests and submit them to the dashboard.Benefits:
For new users this will give them a simple way to see what VistA is all about and be able to get back to a "fresh" environment at any time and without a large time investment for re-installing VistA from scratch.
For developers this allows for a quick stand up of a clean VistA system for development and testing. Also, since the systems runs all of the OSEHRA tests developers can test their new software development projects easily.Future:
I plan on using this framework to extend the OSEHRA VM so it can be used to create new environments on the fly and be instantly up-to-date.Feedback:
I'd like to thank Patrick Reynolds for the initial jump start on the vagrantfile, Luis Ibáñez for the initial VistA-installation-scripts that was forked to create the installations scripts used, and Joe Snyder for some ctest help.