Produced by Araxis Merge on 10/12/2018 4:05:12 PM Eastern 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 | Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web | README.md | Fri Aug 24 18:39:35 2018 UTC |
| 2 | Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web | README.md | Fri Oct 12 13:49:45 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 266 |
| Changed | 3 | 10 |
| 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 | # Veteran Link Web A pplication | |
| 2 | ||
| 3 | ## Purpose | |
| 4 | The Vetera n Link app lication a llows Vete rans to qu ickly conn ect with o ther Veter ans based on similar character istics and interests . They are able to i dentify in dividuals and groups to join i n discussi ons about health-rel ated issue s. Based u pon access with a Pr emium (lev el 2) DS L ogon accou nt, the ap plication makes it p ossible fo r Veterans to select what info rmation in their pro files they want to s hare with others. Ve terans wil l be able to quickly find, joi n, and com municate t hrough net works of p eople with common in terests. | |
| 5 | ||
| 6 | ## Platfo rm | |
| 7 | * **Base I mage:** Ce ntos7 / Ng inx | |
| 8 | ||
| 9 | ## Service s and Acco unts | |
| 10 | * **Servic e:** vetli nk-web | |
| 11 | * **Port:* * 8383 | |
| 12 | * **Test U ser:** moc kUser01/pa ss | |
| 13 | ||
| 14 | ### Depend encies | |
| 15 | * **[vetli nk-service s](https:/ / DNS . URL /projects/ NAVYMED/re pos/vetlin k-services /browse?at =refs%2Fhe ads%2FRele ase%2F2.0. 0):** Allo ws for vie wing/updat ing Profil es, Groups , and Post s | |
| 16 | ||
| 17 | ## Local B uilds | |
| 18 | ### NextGe n Local De velopment | |
| 19 | ||
| 20 | #### Prere quisites | |
| 21 | ||
| 22 | * clone th e new-conf iguration branch of [NextGen-S tack repos itory](htt ps:// DNS . URL /projects/ VAMF/repos /nextgen-s tack/brows e) | |
| 23 | * Follow R EADME of a bove repos itory for basic envi ronment pr erequisite s | |
| 24 | * Update t he categor y variable s in **set -dev-envar s.sh** to the follow ing: | |
| 25 | ||
| 26 | ```bash | |
| 27 | VET_MODE=t rue | |
| 28 | STAFF_MODE =false | |
| 29 | PGD_FHIR=f alse | |
| 30 | ``` | |
| 31 | ||
| 32 | * Bring up nextgen-s tack envir onment wit h `./run-a ll.sh` | |
| 33 | ||
| 34 | #### First Time Setu p | |
| 35 | ||
| 36 | To easily bring up a ll require d containe rs for Vet Link for t he first t ime, run t he followi ng from th e vetlink- web folder : | |
| 37 | ||
| 38 | ```sh | |
| 39 | ./nextgen/ run-dev.sh | |
| 40 | ``` | |
| 41 | ||
| 42 | #### Verif ication | |
| 43 | If the app lication i s setup co rrectly in the local NextGen S tack envir onment, yo u should b e able to access the applicati on at: | |
| 44 | http://loc alhost:808 9/vetlink/ | |
| 45 | ||
| 46 | #### Redep loying | |
| 47 | After maki ng a chang e to the c ode, the f ollowing s teps can b e followed to redepl oy the vet link-web i mage: | |
| 48 | ||
| 49 | From the v etlink-web folder: | |
| 50 | ||
| 51 | ```sh | |
| 52 | ./nextgen/ build.sh | |
| 53 | docker-com pose -f ne xtgen/dock er-compose -dev.yml s top vetlin k | |
| 54 | docker-com pose -f ne xtgen/dock er-compose -dev.yml r m -f vetli nk | |
| 55 | docker-com pose -f ne xtgen/dock er-compose -dev.yml u p -d --bui ld vetlink | |
| 56 | ``` | |
| 57 | ||
| 58 | Similar st eps can be followed to redeplo y the vetl ink-servic es image: | |
| 59 | ||
| 60 | From the v etlink-ser vices fold er: | |
| 61 | ```sh | |
| 62 | ./nextgen/ build.sh | |
| 63 | ``` | |
| 64 | ||
| 65 | From the v etlink-web folder: | |
| 66 | ||
| 67 | ```sh | |
| 68 | docker-com pose -f ne xtgen/dock er-compose -dev.yml s top vetlin k-services | |
| 69 | docker-com pose -f ne xtgen/dock er-compose -dev.yml r m -f vetli nk-service s | |
| 70 | docker-com pose -f ne xtgen/dock er-compose -dev.yml u p -d --bui ld vetlink -services | |
| 71 | ``` | |
| 72 | ||
| 73 | ### Runnin g the Phon egap versi on | |
| 74 | These inst ructions a ssume the NextGen lo cal stack is already running. | |
| 75 | ||
| 76 | #### Insta ll Cordova | |
| 77 | ||
| 78 | ```sh | |
| 79 | npm instal l -g cordo va | |
| 80 | npm instal l -g cordo va-ios | |
| 81 | npm instal l -g cordo va-android | |
| 82 | npm instal l -g ios-s im | |
| 83 | ``` | |
| 84 | ||
| 85 | #### Copy the source code to t he phonega p folder | |
| 86 | From the v etlink-web folder: | |
| 87 | ||
| 88 | ```sh | |
| 89 | ./gradlew copyPhoneg ap | |
| 90 | ``` | |
| 91 | ||
| 92 | #### Add t he platfor ms | |
| 93 | From the v etlink-web folder: | |
| 94 | ||
| 95 | ```sh | |
| 96 | cd vetlink /phonegap/ vetlink | |
| 97 | cordova pl atform rem ove ios | |
| 98 | cordova pl atform rem ove androi d | |
| 99 | cordova pl atform add ios | |
| 100 | cordova pl atform add android | |
| 101 | ``` | |
| 102 | ||
| 103 | #### Build and Deplo y (iOS) | |
| 104 | From the s ame direct ory as abo ve: | |
| 105 | ||
| 106 | ```sh | |
| 107 | cordova bu ild ios | |
| 108 | ``` | |
| 109 | ||
| 110 | Then, open the VetLi nk.xcodepr oj in XCod e. From t here, you can run th e applicat ion on an iOS simula tor by pre ssing the "Play" but ton. | |
| 111 | ||
| 112 | You can al so change the target device if the defau lt device isn't work ing. | |
| 113 | ||
| 114 | #### Build and Deplo y (Android ) | |
| 115 | First, ens ure an And roid devic e is plugg ed into yo ur machine and devel oper tools are enabl ed on the device. | |
| 116 | ||
| 117 | From the s ame direct ory as abo ve: | |
| 118 | ||
| 119 | ```sh | |
| 120 | cordova bu ild androi d | |
| 121 | cordova ru n android | |
| 122 | ``` | |
| 123 | ||
| 124 | You should see the a pplication install a nd run on your devic e. | |
| 125 | ||
| 126 | #### Updat e the phon egapbaseur l | |
| 127 | If you nee d to updat e the phon egapbaseur l, do the following: | |
| 128 | ||
| 129 | From the v etlink-web folder, o pen the in dex.html f iles at | |
| 130 | * vetlink/ phonegap/v etlink/mer ges/androi d | |
| 131 | * vetlink/ phonegap/v etlink/mer ges/ios | |
| 132 | ||
| 133 | In each fi le, update the windo w.phonegap baseurl to the neede d window.p honegapbas eurl, then rebuild a nd deploy the applic ation. | |
| 134 | ||
| 135 | ## Referen ces | |
| 136 | * **Stash repo link: ** https:/ / DNS . URL /projects/ NAVYMED/re pos/vetlin k-web/brow se | |
| 137 | * **Stash clone link :** https: // DNS . URL /scm/navym ed/vetlink -web.git | |
| 138 | * **Wiki D ocumentati on:** [Vet Link 2.0.0 ](https:// DNS . URL /display/D ODVAL/Vetl ink+2.0.0+ Documentat ion) |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.