Skip to content

A Vagrant project for creating a fresh clean and smelly good XNAT installation.

License

Notifications You must be signed in to change notification settings

semework/xnat-vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XNAT Vagrant

This is the working repository for the XNAT Vagrant project. You may find a more stable, but older, version of this project on the corresponding xnat-vagrant GitHub repository. Updates will be pushed to the GitHub repository as they are tested and verified by the XNAT development team.

Note

Windows users will need a Bash terminal program - Cygwin or Git Bash are recommended. Git Bash is installed by default when you run the Git installer and should work for running the scripts in this repo.

Quick-Start

  • Make sure you have Git, Vagrant, and VirtualBox installed on your host machine.
  • Clone the repo: git clone https://bitbucket.org/xnatdev/xnat-vagrant.git
  • From inside the xnat-vagrant folder, run ./run xnat setup to launch and configure a Vagrant VM using the latest pre-built XNAT war file. Other VM configurations can be set up similarly, substituting the folder name of the config: ./run xnat-latest setup, etc. You can see the available configurations by listing the contents of the configs folder. The currently available configurations are:
    • xnat downloads the latest XNAT release bundle and installs it in the VM.
    • xnat-dev mounts XNAT source and pipeline folders into the VM to facilitate deploying XNAT development.
    • xnat-latest clones the XNAT web source folder to allow you to build the latest XNAT code inside the VM.
    • xnat165-box builds a VM using the XNAT 1.6.5 box image, which provides the XNAT 1.6.5 release server.

List of commands:

  • ./run xnat setup - initial VM setup - *this must be performed first to create the VM
  • ./run xnat stop - shuts down the VM
  • ./run xnat start - (re)launches a VM that has been set up but is not running
  • ./run xnat destroy - deletes the VM and related files

The run script is more or less a proxy for the vagrant commands, allowing you to work with multiple VMs from a single 'root' folder. You can also navigate to each individual configuration folder and run the setup.sh scripts or the Vagrant commands directly.

$ cd configs/xnat
$ ./setup.sh

In each folder, you can set up a file named local.yaml to customize various attributes of your Vagrant VM. Each folder contains a version of sample.local.yaml that you can use as the starting point for your own local.yaml file. You can reference the config.yaml file in that configuration to see the default values that are passed into the Vagrant configuration.

About

A Vagrant project for creating a fresh clean and smelly good XNAT installation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 96.5%
  • Batchfile 2.3%
  • Ruby 1.2%