@@ -49,11 +49,51 @@ To get started quickly, it is recommended to use Gitpod as default with the deve
4949 - [ https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers ] ( https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers )
5050 - [ https://www.youtube.com/watch?v=idW-an99TAM ] ( https://www.youtube.com/watch?v=idW-an99TAM )
5151
52- - Instal Elasticsearch with Docker
52+ - Install Elasticsearch with Docker
5353
5454 - sudo docker pull elasticsearch:7.9.3
5555 - sudo docker run -d -name elasticsearch -p 9200:9200 -p 9300:9300 -e “discovery.type=single-node” elasticsearch:7.9.3
5656
57+ ### Setup locally on MacOS
58+
59+ - Set up postgresql using homebrew
60+
61+ - brew install postgresql@12
62+
63+ - Use "postgres –V" to check if it is the correct version
64+
65+ - brew services start postgresql@12
66+
67+ - From the terminal, run the command "createdb postgres" (NOT inside psql)
68+
69+ - "psql –d postgres" to enter the database
70+
71+ - CREATE ROLE gitpod with LOGIN PASSWORD 'gitpod';
72+
73+ - Using \d to display all tables and relations, now empty
74+
75+ - Make sure using the correct java version
76+
77+ -Download java 11 if not yet downloaded yet
78+
79+ - Run the command "/usr/libexec/java_home –V" to see your matching java virtual machines
80+
81+ - Pick java 11 accordingly
82+
83+ - export JAVA_HOME='/usr/libexec/java_home –v 11.0.18'
84+
85+ - Run "java –version" to check if it's now running java 11
86+
87+ - https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-macos
88+
89+ - Set up elasticsearch using docker
90+
91+ - Download docker desktop from https://www.docker.com/
92+
93+ - Download the elasticsearch image from docker hub and enable it in the docker desktop
94+
95+ ### Run the application
96+
5797- cd cli
5898
5999 - yarn install
0 commit comments