source: other-projects/hathitrust/HTRC-DevEnvironment-Complete/SETUP.bash@ 33427

Last change on this file since 33427 was 33427, checked in by davidb, 3 years ago

Some initial files on how to get going

File size: 1.0 KB
Line 
1
2
3export HTRC_DEVENV_COMPLETE_HOME=`pwd`
4
5if [ ! -d "$HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/" ] ; then
6 echo "Creating directory:"
7 echo " $HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/"
8fi
9
10if [ -d "$HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/" ] ; then
11 echo "Setting vboxmanage machinefolder property to:"
12 echo " $HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/"
13 vboxmanage setproperty machinefolder "$HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/"
14else
15 echo "Error: Failed to find directory:" >&2
16 echo " $HTRC_DEVENV_COMPLETE_HOME/VirtualBox-VMs/" >&2
17fi
18
19
20if [ ! -d "$HTRC_DEVENV_COMPLETE_HOME/vagrant.d/" ] ; then
21 echo "Creating directory:"
22 echo " $HTRC_DEVENV_COMPLETE_HOME/vagrant.d/"
23fi
24
25if [ -d "$HTRC_DEVENV_COMPLETE_HOME/vagrant.d/" ] ; then
26 echo "Setting environment variable VAGRANT_HOME to:"
27 echo " $HTRC_DEVENV_COMPLETE_HOME/vagrant.d/"
28 export VAGRANT_HOME="$HTRC_DEVENV_COMPLETE_HOME/vagrant.d/"
29else
30 echo "Error: Failed to find directory:" >&2
31 echo " $HTRC_DEVENV_COMPLETE_HOME/vagrant.d/" >&2
32fi
33
Note: See TracBrowser for help on using the repository browser.