Giter VIP home page Giter VIP logo

ibm / blue-cloud-mirror Goto Github PK

View Code? Open in Web Editor NEW
19.0 13.0 20.0 87.47 MB

Blue Cloud Mirror - IBM Cloud Technology Showcase

Home Page: https://blue-cloud-mirror.mybluemix.net

License: Apache License 2.0

JavaScript 18.05% Shell 20.58% HTML 2.51% Vue 53.31% TypeScript 3.89% Dockerfile 0.34% CSS 1.33%
ibm ibmcloud ai visual-recognition tensorflow tensorflowjs serverless kubernetes on-premises cloud-foundry

blue-cloud-mirror's Introduction

Blue Cloud Mirror - IBM Cloud Technology Showcase

Note: The project is currently not maintained

This project contains a game where players need to show five specific emotions and do five specific poses in two levels. The fastest player wins. The game uses various key cloud technologies to demonstrate the value of a diverse, interconnected system, with both public and private cloud environments.

Play the Game. Note: The game is currently not active.

and

the fast start with Deployto IBM Cloud to run your own game instance on IBM Cloud. Here is a short "how to" video (4 min) on YouTube

Note: You need an IBM Cloud account and ask for a IBM Cloud trial feature code.

Here is an example of a successful game:

alt text

Showcase of IBM Cloud Technologies

The game utilizes various key IBM Cloud technologies to demonstrate the value of the IBM Cloud. There are three main parts:

  • Core game: Implemented as serverless web application since it is primarily used during conferences only
  • Users service: Implemented via IBM Cloud Private to avoid storing personal data in a public cloud
  • Scores service: Implemented via Cloud Foundry Enterprise Edition to highlight easy changes via the ‘cf push experience’ (for example theme adoptions for different conferences)

Note: In order to allow developers to easily set up the game with an IBM Cloud Lite account, this project contains documentation how to use Cloud Foundry Public applications rather than Cloud Foundry Enterprise Environment and how to use Minikube rather than IBM Cloud Private.

The following diagram shows the key components that are used in this project. More diagrams, including a diagram showing IBM Cloud Private and Cloud Foundry Enterprise Environment, can be found in the images folder.

alt text

This is a list of used technologies:

Authors

Documentation and Articles

Setup

In the easiest case the game can be set up on a local machine in less than five minutes. In this case only the game web application is run without being able to register users and having highscores. To set up the game locally, invoke the following commands:

Then invoke the following commands:

$ git clone https://github.com/IBM/blue-cloud-mirror.git
$ cd blue-cloud-mirror/game
$ yarn install
$ yarn run serve

or

Deploy to IBM Cloud

The full setup includes IBM Cloud Functions, Cloud Foundry and an on-premises environment. Please refer to the instructions of the three main components:

Prerequisites

For all three components, you need the following prerequisites.

Create an IBM Cloud lite account (free, no credit card required):

Make sure you have the following tools installed:

Local Environment Setup

Invoke the following commands:

$ git clone https://github.com/IBM/blue-cloud-mirror.git
$ cd blue-cloud-mirror/
$ ibmcloud login
$ ibmcloud iam api-key-create blue-cloud-mirror \
  -d "blue-cloud-mirror" \
  --file blue-cloud-mirror.json
$ cat blue-cloud-mirror.json
$ cp template.local.env local.env

In local.env define

  • 'IBMCLOUD_API_KEY'
  • 'IBMCLOUD_ORG'
  • 'IBMCLOUD_SPACE'
  • 'BLUEMIX_REGION'
  • **'BLUEMIX_CF_API'''

to match the apikey in blue-cloud-mirror.json and the org, space, region and cloud foundry endpoint name that you're using (see the outputs in your terminal when following the steps above).

blue-cloud-mirror's People

Contributors

bma73 avatar electro-nauts avatar harald-u avatar kant avatar nheidloff avatar teuunn avatar thomassuedbroecker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blue-cloud-mirror's Issues

Spelling issue

Cloud Foundry Publication Applications should be Cloud Foundry Public applications

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.