@@ -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 the correct Java version is being used
76+
77+ - Download Java 11 if you don't have it already
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 Java 11 is indeed being used
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