Giter Site home page Giter Site logo

toybank-tap's Introduction

toybank-tap

Migration of the Spring Boot toybank application to TAP.

Deployment

Deploying to TAP

If you make modifications to the source and push to your own Git repository, then you can update the spec.source.git information in the config/workload.yaml file.

You can deploy and use the config/workload.yaml file to set the initial message:

tanzu apps workload apply -f config/workload.yaml

If you would like deploy the code from tyour local working directory you can use the following command:

tanzu apps workload create hello-world -f config/workload.yaml \
  --local-path . \
  --source-image <REPOSITORY-PREFIX>/hello-world-source \
  --type web

Accessing the app deployed to your cluster

Determine the URL to use for the accessing the app by running:

tanzu apps workload get hello-world

To access the deployed app use the URL shown under "Workload Knative Services".

Then, use curl or some other utility to access the URL:

curl <URL>

This depends on the TAP installation having DNS configured for the Knative ingress.

toybank-tap's People

Watchers

Paul Kelly 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.