563. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/6/2017 8:23:26 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

563.1 Files compared

# Location File Last Modified
1 OSCIF_CTT_v4_build 1.zip\rails_komet README.md Wed May 31 03:58:56 2017 UTC
2 OSCIF_CTT_v4_build 1.zip\rails_komet README.md Mon Jul 3 23:19:56 2017 UTC

563.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 224
Changed 2 4
Inserted 0 0
Removed 0 0

563.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

563.4 Active regular expressions

No regular expressions were active.

563.5 Comparison detail

  1   == README
  2  
  3   You need t o first ge t JRuby, h ere is the  link to t he 64 bit  msi instal ler:
  4  
  5   https://s3 .amazonaws .com/jruby .org/downl oads/9.1.8 .0/jruby_w indows_x64 _9_1_8_0.e xe
  6  
  7   Get JRuby' s complete  jar file.   You can  put it any where you  want just  remember w here you p ut it!
  8   I put it i n the dire ctory wher e JRuby is  installed .
  9  
  10   https://s3 .amazonaws .com/jruby .org/downl oads/9.1.8 .0/jruby-c omplete-9. 1.8.0.jar
  11  
  12   You also n eed Maven:  https://m aven.apach e.org/down load.cgi
  13   Place wher e you woul d like
  14   Add the bi n director y of the c reated dir ectory [ap ache dir]  to the PAT H environm ent variab le
  15  
  16   Confirm wi th mvn -v  in a new s hell. 
  17  
  18   You need t o make sur e you have  the sourc e code for  the ISAAC -rest proj ect on you r system.
  19  
  20   git clone  https://UR L.DNS:PORT
  21  
  22   In rails r oot you wi ll find a  file calle d setup.ba t.template .
  23   Move this  file to se tup.bat, t hen you wi ll need to  modify th e followin g environm ent variab les:<br>
  24   Download j dk if you  don't alre ady have i t for line  5 http:// www.oracle .com/techn etwork/jav a/javase/d ownloads/j dk8-downlo ads-213315 1.html
  25  
  26   GEM_HOME :  (this is  in line 2,  make sure  you creat e the dire ctory you  reference)
  27  
  28   JAVA_HOME  : (Line 4)
  29  
  30   JRUBY_JAR:  (This ref erences JR uby's comp lete jar f ile.  Line  8)
  31  
  32   ISAAC_PATH : (Line 6,  the path  to the fol der where  your Isaac  Rest proj ect is ins talled)
  33  
  34  
  35  
  36   From a dos  shell mak e sure you  are in ra ils root ( you can se e the app  directory  right?), a nd run:
  37   ```
  38   setup.bat
  39   ```
  40  
  41   Now that y our enviro nment is s etup you n eed to ins tall bundl er:
  42   ```
  43   gem instal l bundler
  44   ```
  45  
  46   Install yo ur bundle!
  47   ```
  48   bundle ins tall
  49   ```
  50  
  51   **RAILS_CO MMON - git  submodule **
  52   We have mo ved the pr op loader  and loggin g code int o a git re pository a t https:// github.com /VA-CTT/ra ils_common .git so th at the cod e can
  53   be shared  with rails _komet and  the PRISM E project
  54  
  55  
  56   To pull th e latest c ode do the  following  (replace  my usernam e with you rs where a ppropriate .):
  57   * VCS -> U pdate Proj ect - from  within Ru byMine (ht tps://www. jetbrains. com/help/r uby/2016.1 /installin g-and-laun ching.html )
  58   * open .gi tignore an d comment  out /lib/r ails__comm on with a  #
  59   * open a t erminal an d navigate  to rails_ komet/lib
  60   * git subm odule add  https:// URL . DNS : PORT
  61   * open .gi tignore an d uncommen t /lib/rai ls__common
  62   * run git  reset from  within th e lib/rail s_common d irectory
  63   * run git   rm -f --c ached rail s_common f rom within  the lib/r ails_commo n director y if the l ine above  fails
  64  
  65  
  66   ```
  67   git reset  .
  68   ```
  69  
  70   You should  now see a n rails_co mmon direc tory under  the lib d irectory.
  71  
  72   In RubyMin e you may  see a mess age concer ning rails _common be ing under  source con trol. If/w hen you do , click th e add root  button. T his will a llow you t o make cha nges withi n the rail s_komet pr oject to t he code in  rails_com mon and co mmit those  changes a s well.
  73  
  74  
  75   Open a ter minal and  navigate t o rails ro ot and run  the comma nd:
  76   * mvn clea n initiali ze  
  77   * This wil l create t he file:
  78   * ./config /generated /yaml/Isaa cMetadataA uxiliary.y aml
  79   * Now run  the follow ing comman d to build  the Isaac  Rest proj ect
  80   * bundle e xec rake i saac:build _isaac_res t
  81  
  82  
  83  
  84   You can no w bring up  the serve r:
  85   ```
  86   startup.ba t
  87   ```
  88  
  89   Your rails  server wi ll come li stening on  port 3000  or 3001.   Just hit: <BR>
  90   (Be aware  that the s erver will  show a ha rmless exc eption whe n it comes  up.)
  91  
  92   http://loc alhost:300 0
  93  
  94   **Working  with Isaac -Rest:**
  95  
  96   Isaac-rest  can be ma naged in y our ruby m ine IDE.   To build i saac rest,  in your I DE run 'ra ke isaac:b uild_isaac _rest'
  97   This will  build isaa c rest and  generate  the auxili ary metada ta file.
  98   To launch  isaac-rest : 'rake is aac:launch _isaac_res t'.
  99   To do it a ll: 'rake  isaac:buil d_and_laun ch_isaac_r est'
  100   Make sure  you have c onfigured  your setup .bat (firs t) as outl ined in se tup.bat.te mplate.  M ake sure m aven is on  your path .
  101  
  102   By the way , you need  to have y our git cr edentials  stored loc ally so ru n...
  103  
  104   ```
  105   git config  --global  credential .helper wi ncred
  106   ```
  107  
  108  
  109   Developer  addded con fig variab les:
  110  
  111   1: REST_CA CHE_SIZE d etermines  the maximu m number o f key,valu e pairs (I nteger req uired  > 0 ) of ISAAC  data this  applicati on will ca che.
  112   ```
  113   set REST_C ACHE_SIZE  = 1000
  114   ```