Sáb. Jun 15th, 2024

In this video I show you how to install an Openshift Origin installation in your MAC OS X local environment and create a cluster of one node with minishift (https://docs.openshift.org/latest/minishift/getting-started/quickstart.html).

Source code used in the video available in https://github.com/juanviz/nodejs-ex

A briefing of commands used in the video:

Detailed instructions used for the deployment:

brew cask install minishift

minishift ip

oc login

oc new-project JVproject

oc new-project jvproject

oc new-app https://github.com/juanviz/nodejs-ex

git clone https://github.com/juanviz/nodejs-ex

oc status

oc logs -f bc/nodejs-ex

oc expose svc/nodejs-ex

minishift openshift service nodejs-ex --in-browser -n jvproject

cd nodejs-ex/

vi views/index.html 

git add commit -m "test change"

git add  -m "test change"

git status

git add views/index.html 

git commit -m "test commit build minishift"

git push

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *