= BRICCS Label Printing HowTo Install Using Docker Tags: [[BRICCS Label Printing]] [[HowTo]] == Prerequisites if required '''Step 1 - Install Git''' {{{$ sudo apt-get update }}} {{{$ sudo apt-get install git }}} '''Step 2 - Install Docker''' [[Docker HowTo Install]] '''Step 3 - Install NGINX''' [[NGINX HowTo Install Using Docker]] == Install BRICCS Label Printing using Docker 1. On the host machine go to directory {{{cd /local/docker//}}} 2. Go to this directory and checkout from docker_briccs_labels {{{sudo git clone https://github.com/LCBRU/docker_briccs_labels.git}}} {{{sudo chmod -R 777 docker_briccs_labels/}}} This will create a directory /local/docker//docker_briccs_labels 3. To build the image : {{{sudo docker build -t lcbruit/briccs_label:v1.1 .}}} 4. To run the docker container : {{{sudo docker run -itd -p 8080:8080 lcbruit/briccs_label:v1.1}}} 5. Test BRICCS Label Printing : {{{http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk:8080}}} 6. If required amend to NGINX configuration, particularly /share/nginx.conf ===Further Info=== 1. This docker image uses tomcat as the application server. 2. Printer template definitions are located in WEB-INF\classes\org\bru\briccs\labels\webapp 3. Templates are located in WEB-INF\classes 4. Both template definitions and templates can be changed prior to build in the zip file provided.