GithubHelp home page GithubHelp logo

smontri / mytodo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lionelmace/mytodo

1.0 1.0 2.0 4.48 MB

Node.js app ready to be deployed to IKS (IBM Kubernetes Service)

Home Page: https://lionelmace.github.io/iks-lab/

JavaScript 19.87% CSS 31.77% HTML 2.59% Dockerfile 0.26% Shell 20.53% HCL 23.86% Mustache 1.12%

mytodo's Introduction

Introduction

This web app built with a CLEAN stack (CLoudant NoSQL DB, Express, Angular and Node.js) is ready to be deployed on ICP (IBM Cloud Platform).

Todo

Watch this 6 mins YouTube video to understand all the deployment steps below. Note: this video excludes the cluster provisioning.

How to deploy this app in Kubernetes?

  1. If you don't already have a Kubernetes cluster, create one for Free from IBM Cloud Catalog by selecting the Kubernetes Service.

    Give it a Name and select a Resource Group.

    20 min provisioning time

    Cluster

  2. [Optional] If you want to securely store your API Key used in the Continuous Delivery later, provision a service Key Protect.

    Make sure to select the same Region as your cluster location, enter a Service Name, select a Resource Group and a Network Policy.

    2 min provisioning time

    Key Protect

  3. To automate the deployment of this app into your Kubernetes cluster, click the button below.

  4. Enter a Toolchain Name, select the Region and a Resource Group where your cluster was created.

    Toolchain

  5. In the tab Git Repos and Issue Tracking, keep the default setting .

    Toolchain

  6. In the tab Delivery Pipeline, create a new API Key.

    Toolchain

  7. A panel will open, check the option Save this key in a secrets store for resuse if you have created an instance of the service Key Protect.

    Keep this option unchecked if you have decided not to use Key Protect.

    Toolchain

  8. The toolchain will automatically try to fill out the remaining information. Control the Resource Group, the region and the cluster name, then, click Create.

    Toolchain

  9. The toolchain is being created. That includes a Github repo to clone the source code of the app.

    Toolchain

  10. Click Delivery Pipeline in the Overview. You will see the stages progressing in pipeline.

    6 min deployment time Toolchain

  11. Click the link View logs and history in the last stage DEPLOY. Scroll down to the bottom. You will find the link to your application.

    Toolchain

    If you have a free cluster, the url will be using the IP address of a worker node. If you have a paid cluster, the url will be a domain name finishing with *.appdomain.cloud.

Congratulations! Your app is up and running in the cluster.

Step by step Deployment

Those two tutorials will show you in details how to deploy this step by step:

  • With IKS (IBM Cloud Kubernetes Service), follow this tutorial

  • With ICF (IBM Cloud Foundry), follow this tutorial

mytodo's People

Contributors

dependabot[bot] avatar jmoliva avatar lionelmace avatar pow-devops2020 avatar smontri avatar smontri-mewo 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.