GithubHelp home page GithubHelp logo

markjschreiber / cna-demo-setup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ciberkleid/cna-demo-setup

0.0 0.0 2.0 12 KB

Easy to set up cloud-native architecture demo for PCF. Consists of two apps, greeting-ui and fortune-service. Can be used to demo all three services in Spring Cloud Services, container to container networking, and distributed tracing in PCF Metrics.

Shell 100.00%

cna-demo-setup's Introduction

cna-demo

Easy to set up cloud-native architecture demo for PCF. Consists of two apps, greeting-ui and fortune-service. Can be used to demo all three services in Spring Cloud Services, container to container networking, and distributed tracing in PCF Metrics.

This demo comprises four repos:

instructions

  1. Clone the setup repo and the two project repos into a single local directory:
mkdir cna-demo
cd cna-demo
git clone https://github.com/markjschreiber/cna-demo-setup.git
git clone https://github.com/markjschreiber/fortune-service.git
git clone https://github.com/markjschreiber/greeting-ui.git
  1. Use the cf CLI to target the space to which you wish to deploy.

  2. From the cna-demo-setup directory, run the setup script:

cd cna-demo-setup
. ./00_setup.sh

Answer the prompts from the script:

  • Provide the git address to back the Config Server
  • Choose whether or not to leverage container-to-container networking
  • Choose whether or not to build the apps
    • If 'Y', the script will run "mvn clean install" for both fortune-service and greeting-ui.

The script will create the necessary services and deploy the two applications to the targeted space. It will also set the TRUST_CERTS environment variable and, optionally, enable access between the apps for C2C networking.

  1. [Optional] To delete the apps, routes, and services created by the setup script, run the cleanup script. Answer the prompts to control if just apps and routes are deleted, or services as well.
. ./01_cleanup.sh

cna-demo-setup's People

Contributors

ciberkleid 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.