Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.64 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.64 KB

Caseflow Certification

Build Status

Running Caseflow in isolation

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

Running Caseflow connected to external depedencies

To test the app connected to external dependencies follow

Set up Oracle

First you'll need to install the libraries required to connect to the VACOLS Oracle database:

OSX

  1. Download the "Instant Client Package - Basic" and "Instant Client Package - SDK" for Mac 32 or 64bit.

  2. Unzip both packages into /opt/oracle/instantclient_11_2

  3. 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

Windows, Linux

Installation instructions TBD.

Run the app

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