# Verify Java set up
java -version
# Verify maven set up
mvn
# Github access
Login to https://github.com
# docker install
docker -v
# check if minikube up and running
minikube ip
#If minikube is not running, run the below command to start minikube
minukube start --vm-driver=hyperkit
minikube addons enable ingress
# jenkins install
brew start service jenkins
Launch jenkins https://localhost:8080
Login into GHE - https://github.com
Navigate to https://github.com/Elevate2020/StoreService-API
# Fork the repo to your organization
# Rename your repo name to StoreService-<GitOrg>
# Create a workspace under home directory
mkdir gitrepo
# Change to gitrepo directory
cd gitrepo
# Clone the git repo
git clone https://github.com:<YourGitOrg>/StoreService.git
# Navigate to StoreService folder
cd StoreService
# Make sure you are in StoreService folder
# Change artifactID in pom.xml from storeservice to storeservice-<gitorg>
# Execute maven commands to clean, test and package application to a jar file
mvn clean package
# Start the application
java -jar target/storeservice-1.0.jar
#Check if applicaiton is running
Open browser and enter url "http://localhost:8081/MN/1"
# Lets talk about vela configuration (.vela.yml)
# Login to vela and add git-repo to dashboard
login to localhost:8080/jenkins
# Verify if build is triggered and succeeded