Workshop URL: https://master.atlanta-890d.openshiftworkshop.com/
Etherpad URL: https://etherpad.wikimedia.org/p/DevNexus_EDA_Tutorial
There are 90 available users on this OpenShift installation. Please use the Etherpad to share with the other attendees your chosen user.
Your login will be userXX
, where XX
ranges from 1 to 90.
The password is openshift
;
Now it’s time for you to set your environment, but remember to replace userXX
with your real user!:
export WORKSHOP_USER=userXX
oc login https://master.atlanta-890d.openshiftworkshop.com/ -u $WORKSHOP_USER -p openshift
The repository will become your working directory. All of the instructions start on this directory unless specified otherwise.
git clone https://github.com/redhat-developer-demos/eda-tutorial.git
First we need to tell OpenShift to create a build definition:
oc new-build --binary --name=myapp
Now every time you wish to build your application, you can run:
oc start-build myapp --from-dir=. --follow
Once you have at least one successfull build, you can ask OpenShift to run your application:
oc new-app myapp
If you wish your application to be publicly exposed, you can run:
oc expose svc/myapp