Produced by Araxis Merge on 12/14/2017 1:29:04 PM Eastern Standard 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 | CUI-CPP-v2.3.2-source.zip | DEPLOY-README.md | Mon Nov 20 23:19:07 2017 UTC |
| 2 | CUI-CPP-v2.3.2-source.zip | DEPLOY-README.md | Thu Dec 14 16:11:04 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 5 | 86 |
| Changed | 5 | 17 |
| 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 | #CUI (DrTu rboTax) Do cker Deplo yments | ||
| 2 | |||
| 3 | Docker is an applica tion build and deplo yment tool that pack ages your code with dependenci es into an applicati on contain er and cre ates isola ted linux processes using soft ware fence s. Multip le applica tions that rely on d ifferent v ersions of the same dependency can coexi st on the same opera ting syste m. | ||
| 4 | |||
| 5 | The images created d uring a do cker build are a sna pshot of t he content s a contai ner is mea nt to run. Images a re version controlle d, retriev able and r e-buildabl e. | ||
| 6 | |||
| 7 | |||
| 8 | ###Getting Started | ||
| 9 | |||
| 10 | To get sta rted using Docker lo cally on y our Window s developm ent machin e, go to ( https://do cs.docker. com/toolbo x/toolbox_ install_wi ndows/) an d install Docker Too lbox. If y ou are wor king on a MAC, follo w instruct ions here: (https:// docs.docke r.com/dock er-for-mac /docker-to olbox/). T his will g ive you ev erything y ou need fo r a docker build/dep loyment of the CUI a pplication on your l ocal machi ne. | ||
| 11 | |||
| 12 | ###Develop er local i nstall | ||
| 13 | |||
| 14 | Create a f older name cui on yo ur local m achine and clone or checkout t he source code to it . | ||
| 15 | |||
| 16 | When you a re ready t o install, run the d ocker_cui_ create.sh script sup plying it with which environme nt you wan t to insta ll for. O ptions: de v, uat, sq a, prod | ||
| 17 | Note: only dev works at this t ime | ||
| 18 | |||
| 19 | `./docke r_cui_crea te.sh dev` | ||
| 20 | |||
| 21 | When this script has completed with no e rrors you should hav e two dock er contain ers runnin g, one for the cui a pp and one for the d rturbotax db which h as been lo aded with the rake d b:migrate db:seed co mmands. | ||
| 22 | |||
| 23 | To see if your conta iners are running, i n your doc ker quicks tart termi nal type: | ||
| 24 | |||
| 25 | `docker ps` | ||
| 26 | |||
| 27 | You should see two e ntries wit h containe r names of cui_web_1 and cui_d b_1 that l ook like t his: | ||
| 28 | |||
| 29 | CONTAINER ID IMAGE COMMAND CREAT ED | ||
| 30 | STATU S PORTS NAMES | ||
| 31 | 83bfb70702 a1 cuidev "bundle ex ec rails s " 20 ho urs ago | ||
| 32 | Up 20 hour s 0.0.0.0: PORT -> PORT /tcp cui_web_1 | ||
| 33 | 6e6d082a4c 7a postgre-cu i "/usr/lib/ postgresql /" 20 ho urs ago | ||
| 34 | Up 20 hour s 0.0.0.0: PORT -> PORT /tcp cui_db_1 | ||
| 35 | |||
| 36 | You can no w open the CUI app i n a browse r with (ht tp://local host: PORT /) if usin g the nati ve Windows docker in stall. If using d ocker tool box you'll need to s sh to your docker ma chine and get the IP address i t is using . Localhost will not w ork since the docker machine i s a separa te vm with its own a ddress. To do this run the f ollowing c ommands to ssh to th e machine and get it s IP: | ||
| 37 | |||
| 38 | 'docker- machine ss h default' | ||
| 39 | |||
| 40 | at command prompt ty pe: | ||
| 41 | |||
| 42 | 'ifconfi g' | ||
| 43 | |||
| 44 | You will w ant to use the IP ad dress for "eth1" in the list o f addresse s: | ||
| 45 | |||
| 46 | IP | ||
| 47 | |||
| 48 | In your br owser use the IP in the url in place of localhost: (http:// IP : PORT ) |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.