This tutorial is valid for JHipster 7.9.3 (
jhipster --version). Please, check the command lines for building and running into the generatedREADME.mddocuments if the commands fail.
mkdir -p ~/github/mastering-microservices
cd ~/github/mastering-microservices
# git clone https://github.com/mastering-microservices/tutorial_en.git
git clone [email protected]:mastering-microservices/tutorial_en.gitFollow the instructions: https://www.jhipster.tech/installation/
Download and install the latest LTS (Long Term Support) release of AdoptOpenJDK for your system.
jdk-11.0.17+8is the latest LTS at Dec 15, 2022
cd ~/Downloads
wget https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jdk_x64_linux_hotspot_11.0.17_8.tar.gz
tar xzf OpenJDK11U-jdk_x64_linux_hotspot_11.0.17_8.tar.gz
export PATH=$PWD/jdk-11.0.17+8/bin:$PATH
java -versionopenjdk version "11.0.17" 2022-10-25
OpenJDK Runtime Environment Temurin-11.0.17+8 (build 11.0.17+8)
OpenJDK 64-Bit Server VM Temurin-11.0.17+8 (build 11.0.17+8, mixed mode)
Add export PATH=$PWD/jdk-11.0.17+8/bin:$PATH to .bashrc
Follow the instructions: https://github.com/creationix/nvm
Install npm
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bashInstall the latest LTS of NodeJS (and npm)
nvm ls-remote
nvm install v18.12.1
nvm ls
nvm use v18.12.1
nodejs --versionnpm install -g clocnpm install -g yo
yo --versionnpm install -g generator-jhipster
jhipster --version
# show all the subgeneratorsINFO! Using bundled JHipster
7.9.3
7.9.3 (Dec. 15, 2022)
Install Docker CE + Docker Compose or Docker Desktop on your system.
Follow the instructions https://docs.docker.com/install/ and https://docs.docker.com/compose/install/ for docker-compose.
docker --version
docker-compose --version
docker compose --versionGet your Heroku credits with your Github Student Developer Pack.
Follow the instructions: https://devcenter.heroku.com/articles/heroku-cli
sudo snap install --classic heroku
# curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
heroku --version
heroku helpCheck your Heroku account thru https://signup.heroku.com/
Browser mode:
heroku loginCLI mode:
heroku login -iheroku apps
heroku plugins
heroku logsReferences:
Follow the instructions https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
kubectl version --clientFollow the instructions https://cloud.google.com/sdk/docs/downloads-interactive
curl https://sdk.cloud.google.com | bash
exec -l $SHELL
gcloud --versionAt Dec 15, 2022.
Google Cloud SDK 411.0.0
bq 2.0.83
core 2022.12.05
gcloud-crc32c 1.0.0
gsutil 5.17
```
Check your Google Cloud Platform account
```bash
gcloud init
```
Sometime, we need:
```bash
source .bashrc
gcloud --help
```