These vagrants are to provision a virtual machine with Vireo and all its dependencies installed. Vireo will not be deployed in Tomcat, it will be manually started via maven spring-boot for development purposes. The vagrant will be running Vireo on port 9000, which must be available. The available operating systems for the guest virtual machine are all linux distributions; oracle, centos, and ubuntu. In order to develop using theses vagrants, please have the following prerequisites installed.
centos currently not working for Windows host machines
Install the following software.
Add the following required vagrant plugins.
vagrant plugin install vagrant-vbguest
Follow these instructions to provision the Vireo virtual machine.
git clone https://github.com/TexasDigitalLibrary/Vireo-vagrant.git
cd Vireo-vagrant
- select desired operating system for the guest virtual machine: oracle, centos, or ubuntu -> [os]
cd [os]
vagrant up
(this will take a while)
Follow these instructions to start Vireo. Windows must use a shell with an SSH client, such as Git BASH, MINGW, etc. Alternatively have OpenSSH client installed or SSH in using PuTTY on port 2200, username vagrant
, password vagrant
.
- navigate to
Vireo-vagrant/[os]
directory vagrant ssh
cd Vireo
mvn clean spring-boot:run
Test Vireo in the browser.
Import Vireo project into Eclipse
- open Eclipse
- open
File
menu - select
Import
- open
Maven
- select
Existing Maven Projects
- click
Next
- navigate to the
Vireo-vagrant
directory - navigate further to the
[os]/src/Vireo
directory - click
Open
(should see the Vireo project) - click
Finish
- develop on Vireo
https://gist.github.com/jeremythuff/ff068285554d0556d52478bb002b8b8a