Git Product home page Git Product logo

eda-tutorial's Introduction

Event-Driven Architecture Tutorial

Environment Setup

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

Login to your OpenShift cluster:

oc login https://master.atlanta-890d.openshiftworkshop.com/ -u $WORKSHOP_USER -p openshift

Clone the project in your local machine:

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

Create the project where you will deploy your applications:

oc new-project $WORKSHOP_USER

Deploying your application to OpenShift:

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

eda-tutorial's People

Contributors

brian-avery avatar yanaga avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.