Coder Social home page Coder Social logo

neetigyapod / rhdh-book1-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developer-hub-books/rhdh-book1-templates

0.0 0.0 0.0 3.05 MB

JavaScript 0.23% Java 0.12% TypeScript 1.73% CSS 0.03% HTML 94.03% Smarty 1.81% Dockerfile 2.05%

rhdh-book1-templates's Introduction

RHDH Software Templates for the Book "Prepare to Perform"

Instead of directly using this repository for working with the book's example, please create your own fork first. In the forked repository, make the necessary cluster specific changes using the provided GitHub Action before finally adding the templates to your Red Hat Developer Hub instance.

1. Create your fork

From the menu bar in the top right choose the Fork button.

fork repo

In the fork dialog choose where (i.e. Owner) your forked repository should be stored and what name it should get. Confirm by clicking the Create fork button.

create fork dialog

Eventually, you'll end up in the main overview page of your forked repository.

forked repo overview

2. Run the Github Action

Choose the Actions tab from the top menu bar. Since this repository contains a workflow file you need to explicitly enable workflows in your fork by clicking the corresponding button.

forked repo enable github actions

This brings you directly to the Workflow overview page. Choose adapt-cluster-id from the left navigation and then click the Run workflow drop-down on the far right.

forked repo github actions

In that dialog, specify the cluster id for your RHDH instance. The format varies but it could look like this: .apps.cluster-hhlrf.sandbox1697.opentlc.com

forked repo run workflow

Confirm by clicking the Run workflow button. This will queue a new workflow run which will get started soon and is expected to finish successfully within just a few moments.

forked repo workflow success

Behind the scences, this workflow run automatically patched the cluster id across all four software templates used in the book's examples. You can see the results as part of a new commit on the main branch in your forked repository.

forked repo workflow results 1

forked repo workflow results 2

3. Add the software templates

After these preparations, you can proceed with the steps in the book in "Chapter 3: Templates - Application head start" at the section "Template registration".

rhdh-book1-templates's People

Contributors

hpgrahsl avatar ryanj 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.