-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall_prerequisites.txt
More file actions
55 lines (39 loc) · 1.6 KB
/
install_prerequisites.txt
File metadata and controls
55 lines (39 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
### These instructions are geared towards WSL/Ubuntu users. Steps will be similar but may vary on MacOS.
### To get started with WSL for the first time, follow these instructions: https://learn.microsoft.com/en-us/windows/wsl/install
sudo apt update
sudo apt upgrade
# install essential packages.
sudo apt install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git pipx default-jre default-jdk unzip
# install pyenv
curl https://pyenv.run | bash
# refresh the shell
exec $SHELL
# install the necessary Python version
pyenv install 3.8.2
# Make pyenv available on the PATH
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
################# RESTART TERMINAL FOR CHANGES TO TAKE EFFECT #######################
# set python version globally
pyenv global 3.8.2
# upgrade pip to latest version
pip install --upgrade pip
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
################# RESTART TERMINAL FOR CHANGES TO TAKE EFFECT #######################
# install latest stable version of nvm
nvm install stable
nvm use stable
# Make pipx available on the PATH
pipx ensurepath
################# RESTART TERMINAL FOR CHANGES TO TAKE EFFECT #######################
# check installed versions
npm --version
java -version
poetry --version
#create a .env file in root of project
#add these to .env file:
APIGEE_ENVIRONMENT=internal-dev
SERVICE_BASE_PATH=service-search-api
STATUS_ENDPOINT_API_KEY=