Setup for local development and cloud deployment
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
The first terminal session is for the developer focused exercises 1 and 2.
The second terminal session is for exercise 3 deploy the Microservice to Kubernetes, here you will work in a preconfigured Container image.
Download the project locally to work in the Developer labs locally.
git clone https://github.com/IBM/cloud-native-starter
cd cloud-native-starter
ROOT_FOLDER=$(pwd)
The local project is needed for Java development labs 2 and 3, because you can't use Docker in the 'cns-workshop-tools' Docker image. (for more see this article )
Start the container
docker run -it --privileged --rm quay.io/tsuedbroecker/cns-workshop-tools:buildah-v1
cd /
git clone https://github.com/IBM/cloud-native-starter.git
cd cloud-native-starter
ROOT_FOLDER=$(pwd)
chmod u+x iks-scripts/*.sh
chmod u+x scripts/*.sh
./iks-scripts/check-prerequisites.sh