Coder Social home page Coder Social logo

cbusch-pivotal / pcf-ers-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tanzu-solutions-engineering/pcf-ers-demo

0.0 1.0 0.0 1.36 MB

Pivotal Cloud Foundry Elastic Runtime Service basic demo

Shell 24.49% Batchfile 7.90% Java 23.63% HTML 43.97%

pcf-ers-demo's Introduction

Build Status Download

PCF Elastic Runtime Service (ERS) Base Demo

Base application to demonstrate PCF ERS

Credits and contributions

As you all know, we often transform other work into our own. This is all based from Andrew Ripka's cf-workshop-spring-boot github repo with some basic modifications.

Introduction

This base application is intended to demonstrate some of the basic functionality of PCF ERS:

  • PCF api, target, login, and push
  • PCF environment variables
    • Spring Cloud Profiles
  • Scaling, self-healing, router and load balancing
  • RDBMS service and application auto-configuration
  • Blue green deployments

Getting Started

Prerequisites

Building

$ git clone [REPO]
$ cd [REPO]
$ ./mvnw clean install

To run the application locally

The application is set to use an embedded H2 database in non-PaaS environments, and to take advantage of Pivotal CF's auto-configuration for services. To use a MySQL Dev service in PCF, simply create and bind a service to the app and restart the app. No additional configuration is necessary when running locally or in Pivotal CF.

In Pivotal CF, it is assumed that a Pivotal MySQL service will be used.

$ ./mvnw spring-boot:run

Then go to the http://localhost:8080 in your browser

Running on Cloud Foundry

Take a look at the manifest file for the recommended setting. Adjust them as per your environment.

Demo Scripts summary

The application tries to be self-descriptive. You'll see when you access the application.

pcf-ers-demo's People

Contributors

cbusch-pivotal avatar acrlewis avatar patrickcrocker avatar

Watchers

James Cloos 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.