To try Caseflow without going through the hastle of connecting to VBMS and VACOLS, just tell bundler to skip production gems when installing.
$ bundle install --without production
And by default, Rails will run in the development environment, which will mock out data.
$ rails s
To test the app connected to external dependencies follow
First you'll need to install the libraries required to connect to the VACOLS Oracle database:
-
Download the "Instant Client Package - Basic" and "Instant Client Package - SDK" for Mac 32 or 64bit.
-
Unzip both packages into
/opt/oracle/instantclient_11_2
-
Setup both packages according to the Oracle documentation:
export DYLD_LIBRARY_PATH=/opt/oracle/instantclient_11_2`
cd /opt/oracle/instantclient_11_2
sudo ln -s libclntsh.dylib.11.1 libclntsh.dylib
Installation instructions TBD.
Now you'll be able to install the gems required to run the app connected to VBMS and VACOLS:
$ bundle install --with staging
Set the development VACOLS credentials as environment variables.
(ask a team member for them)
export VACOLS_USERNAME=username
export VACOLS_PASSWORD=secret_password
Finally, just run Rails in the staging environment!
$ rails s -e staging