Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Install the tools you will need with the windows package manager chocolatey

...

  • Install node by typing in the command - > choco install nodejs-lts
  • In a new cmd terminal, check the installed version node on your machine by using the command  - > npm -v
  • Install grunt by typing in the command - > npm install -g grunt
  • Install grunt-cli by typing in the command - > npm install -g grunt-cli
  • Install bower by typing in the command - > npm install -g bower
  • Install karma-cli by typing in the command - > npm install -g karma-cli
  • Install gulp by typing in the command - > npm install -g gulp

- Install mysql Install docker

  • Install mysql docker by typing in the command - > choco install mysql --version 5.7.18

          N.B. When installing via WiFi the download (instigated by chocolatey) might time out. In this case, retrying several times will solve the problem.

          Compatibility issues exist between MySQL version 8.0.x and the Flyway dependency, installing version 5.7.x resolves this.

- Install docker

  • Install docker by typing in the command - > choco install docker
  • In docker
  • In a new cmd terminal, check the installed version of docker on your machine by using the command  - > docker -v
  • Install docker machine by typing in the command - > choco install docker-machine

- Install mysql (Run docker image)

Use:

docker run --name nhs -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:5.7

Then in a terminal, run:

docker start nhs

- Install virtualbox

  • Install virtualbox by typing in the command - > choco install virtualbox 

...

  • Additionally, pasting http://192.168.99.100:9200/ into a google chrome browser should get an elastic search REST response

...

          However, it may not fix it the second time. If this is the case, download a suitable REST client (https://www.getpostman.com/)

          Enter the URL http://192.168.99.100:9200/_all (check the IP matches that of your docker → use "docker-machine ls" in a cmd prompt

          Choose DELETE and click Send

...

  • Concerns takes a long time to load through the UI (http://local.sm.com/concerns/)
  • Notifications takes a long time to load through the UI (http://local.sm.com/notifications)
  • Can't run git pull (or git clone) on SM's windows machine - ok on Ola's
  • clean package spring-boot:run -Drun.jvmArguments=-Dspring.profiles.active=local → See above (had to set = local in intellij)
  • Having to update spring.profiles.active=local in application.properties (related to/same as ^)
  • Script to create docker container + elastic search etc
  • script to get all the packages up and running - incorporate git pull and spring-boot:run etc
  • Manually having to update 
    <groupId>com.transformuk.hee</groupId>
    <artifactId>reference-client</artifactId>
    <version>2.1.2</version>
    Is this ^ an issue?