Table of Contents |
---|
...
docker start nhs
- Reboot system
Setup
...
elastic search container
- Setup your docker machine and your terminal → https://docs.docker.com/machine/reference/env/
- Open new command prompt without PowerShell and run the following commands
docker-machine create --driver virtualbox dev
docker-machine ls
N.B. If this tells you the docker-machine is "stopped", run docker-machine restart dev (Happens if you have to reboot your PC for some reason)
The next set of instructions (between the asterisks) work when using cmd prompt as an administrator (i.e. right click the cmd prompt icon and click on 'Run as administrator'). Also, they won't work if you are using elevated PowerShell.
******
- Run the following commands
docker-machine.exe env --shell cmd dev
- Copy the text below (update the relevant values for your IP and username) and run in the command prompt (p.s. ensure that there are no trailing spaces at the end of each command)
...
- 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>
Is this ^ an issue?
<artifactId>reference-client</artifactId>
<version>2.1.2</version>