File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 7272 ERROR_CODE=127
7373fi
7474
75+ kubectl_path=$( command -v kubectl || true)
76+ if [ -n " $kubectl_path " ]; then
77+ print_partial_message " ⭐️ Found " " kubectl" " : $kubectl_path " " $BOLD "
78+ else
79+ print_partial_message " 💥 Could not find " " kubectl" " . Please follow this link to install it..." " $BOLD "
80+ print_message " " " https://kubernetes.io/docs/tasks/tools/" " $BOLD "
81+ ERROR_CODE=127
82+ fi
83+
84+ helm_path=$( command -v helm || true)
85+ if [ -n " $helm_path " ]; then
86+ print_partial_message " ⭐️ Found " " helm" " : $helm_path " " $BOLD "
87+ else
88+ print_partial_message " 💥 Could not find " " helm" " . Please follow this link to install it..." " $BOLD "
89+ print_message " " " https://helm.sh/docs/intro/install/" " $BOLD "
90+ ERROR_CODE=127
91+ fi
92+
7593if [ $ERROR_CODE -ne 0 ]; then
7694 print_message " " " There were errors in the setup process. Please fix them and try again." " $BOLD "
7795 exit $ERROR_CODE
96114# Start minikube with the constructed command
97115eval " $MINIKUBE_CMD "
98116
117+ echo
118+ print_message " " " Next, run the following command to deploy warnet" " "
119+ print_message " " " warcli cluster deploy" " $BOLD "
120+ print_partial_message " After that, run " " warcli network start" " to start the network." " $BOLD "
99121
100-
101- echo Done...
You can’t perform that action at this time.
0 commit comments