Produced by Araxis Merge on 4/23/2019 12:15:01 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\CCRS\claimviewer-6.3.3\claimviewer-6.3.3 | README.md | Tue Mar 26 18:16:14 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\CCRS\claimviewer-6.3.3\claimviewer-6.3.3 | README.md | Wed Apr 17 18:49:48 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 9 | 250 |
| Changed | 8 | 16 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | # Claimvie wer | |
| 2 | ||
| 3 | ## To run in dev mod e: | |
| 4 | ```bash | |
| 5 | ng s -c <e nv> | |
| 6 | # e.g. | |
| 7 | ng s -c sq a | |
| 8 | ||
| 9 | ``` | |
| 10 | ||
| 11 | Navigate t o `http:// localhost: 4200/` | |
| 12 | ||
| 13 | To get mor e help on the Angula r CLI use `ng help` or go chec k out the [Angular C LI README] (https://g ithub.com/ angular/an gular-cli/ blob/maste r/README.m d). | |
| 14 | ||
| 15 | ## Environ ments: | |
| 16 | * local (p oints to t he ftcdev instance) | |
| 17 | * sqa (VA sqa) | |
| 18 | ||
| 19 | local is t he default | |
| 20 | ||
| 21 | ## URLS | |
| 22 | ||
| 23 | ftcdev: | |
| 24 | ||
| 25 | https:// SERVER .favortech .local: PORT | |
| 26 | ||
| 27 | You must i mport CCRS Dev CA ce rt for SSL to work. | |
| 28 | ||
| 29 | Follow [th ese steps] (https://g it.ftc-llc .com/CCRS/ CCRS-BUSRU LES/tree/m aster/ssl# make-your- browser-tr ust-the-in ternal-ca) | |
| 30 | ||
| 31 | When chall enged, you can use y our VA PIV cert or y ou can imp ort [ccrs- user.pfx]( https://gi t.ftc-llc. com/CCRS/C CRS-BUSRUL ES/tree/ma ster/ssl/d ev_ca/cert s) into yo ur browser . | |
| 32 | ||
| 33 | va sqa: | |
| 34 | https://SE RVER.DOMAI N.EXT | |
| 35 | To check t he back-en d: | |
| 36 | https:// SERVER . DOMAIN . EXT : PORT /brengine/ viewer/fet chClaimDet ails?claim Type=INSTI TUTIONAL&c laimKey=89 53 | |
| 37 | ||
| 38 | ||
| 39 | ## Current build pro cess | |
| 40 | ||
| 41 | >Update th e docker i mage name with the r epo/releas e number | |
| 42 | ||
| 43 | ```bash | |
| 44 | ng build - c local -- base-href /invoice/ --delete-o utput-path --output- path ./dis t/invoice | |
| 45 | ng build - c sqa --ba se-href /i nvoice/ -- delete-out put-path - -output-pa th ./dist/ invoice | |
| 46 | ||
| 47 | # change t he release number to <build>.< sprint>.<r elease> or use "late st" | |
| 48 | docker bui ld -t aana niev/claim viewer:2.4 .2-sqa . | |
| 49 | docker ima ge push aa naniev/cla imviewer:2 .4.2-sqa | |
| 50 | # or | |
| 51 | docker bui ld -t aana niev/claim viewer:lat est . | |
| 52 | ||
| 53 | ``` | |
| 54 | ## Running docker lo cally | |
| 55 | For macOS there is n o need to create vol umes, just `mkdir do cker-vols/ log` first . | |
| 56 | Use `docke r volume` on Win/Lin ux | |
| 57 | ||
| 58 | ```bash | |
| 59 | docker run -d --name cv --rm - p PORT -p PORT -v $PWD/d ocker-vols /log:/var/ log/nginx aananiev/c laimviewer :latest | |
| 60 | ``` | |
| 61 | ||
| 62 | ## Deployi ng from Do cker | |
| 63 | ||
| 64 | ftcdev: | |
| 65 | ||
| 66 | ```bash | |
| 67 | ssh sanani ev@ SERVER .favortech .local | |
| 68 | cd /u01/cl aimviewer | |
| 69 | sudo docke r image pu ll aananie v/claimvie wer:latest | |
| 70 | ``` | |
| 71 | Running th e image: | |
| 72 | ||
| 73 | ```bash | |
| 74 | sudo docke r volume c reate cv_l og | |
| 75 | sudo docke r run -d - -name cv - -rm -p PORT -p PORT -v cv_log :/var/log/ nginx aana niev/claim viewer:lat est | |
| 76 | ``` | |
| 77 | ||
| 78 | To tail th e logs: | |
| 79 | ```bash | |
| 80 | sudo tail /u01/dock er_images/ volumes/cv _log/_data /access.lo g | |
| 81 | ``` | |
| 82 | ||
| 83 | With certs /keys on e xternal vo lume. | |
| 84 | "certs" mu st contain claimview er.crt, tr usted_ca.p em | |
| 85 | "keys": cl aimviewer. key | |
| 86 | ||
| 87 | ```bash | |
| 88 | sudo docke r volume c reate cert s | |
| 89 | sudo docke r volume c reate keys | |
| 90 | # Copy key s/certs to the volum e | |
| 91 | ||
| 92 | sudo docke r run -d - -name cv - -rm -p PORT -p PORT -v cv_log :/var/log/ nginx -v c erts:/etc/ ssl/certs -v keys:/e tc/ssl/pri vate aanan iev/claimv iewer:late st | |
| 93 | ``` | |
| 94 | ||
| 95 | On a mac: | |
| 96 | ||
| 97 | ```bash | |
| 98 | #Copy keys /certs to the volume first: | |
| 99 | cp ./etc/n ginx/ssl/t rusted_ca. pem docker -vols/cert s/ | |
| 100 | cp ./etc/n ginx/ssl/c laimviewer _dev.key d ocker-vols /keys/clai mviewer.ke y | |
| 101 | cp ./etc/n ginx/ssl/c laimviewer _dev.crt d ocker-vols /certs/cla imviewer.c rt | |
| 102 | ||
| 103 | docker run -d --name cv --rm - p PORT -p PORT -v $PWD/d ocker-vols /log:/var/ log/nginx -v $PWD/do cker-vols/ certs:/etc /ssl/certs -v $PWD/d ocker-vols /keys:/etc /ssl/priva te aananiev/c laimviewer :latest | |
| 104 | ||
| 105 | docker sto p cv | |
| 106 | ``` | |
| 107 | ||
| 108 | To tail ng inx logs: | |
| 109 | ```bash | |
| 110 | tail -200f docker-vo ls/log/err or.log | |
| 111 | ``` | |
| 112 | ||
| 113 | ## Running under loc al instanc e of nginx | |
| 114 | Create the se dirs fi rst: | |
| 115 | ```bash | |
| 116 | mkdir logs /nginx | |
| 117 | ``` | |
| 118 | ||
| 119 | Start (fro m claimvie wer folder ): | |
| 120 | ```bash | |
| 121 | nginx -p . -c etc/ng inx/nginx- dev.conf | |
| 122 | ``` | |
| 123 | Stop: | |
| 124 | ```bash | |
| 125 | nginx -s s top | |
| 126 | ``` | |
| 127 | ||
| 128 | Tail logs | |
| 129 | ```bash | |
| 130 | tail -200f logs/ngin x/access.l og | |
| 131 | ``` | |
| 132 | ||
| 133 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.