GithubHelp home page GithubHelp logo

mattthehearn / angular-openshift-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-developer-demos/angular-openshift-example

0.0 0.0 0.0 152 KB

TypeScript 18.03% CSS 0.49% HTML 77.99% Dockerfile 3.49%

angular-openshift-example's Introduction

Steps to Deploy an Angular on Red Hat OpenShift

OpenShift - WikipediaAngular - PRESS KIT

The Developer Sandbox for Red Hat OpenShift is a free-to-use OpenShift instance for you to experiment with OpenShift for your use cases.The development of dynamic and responsive web applications has evolved into a fundamental requirement. Node.js and Angular stand out as formidable technologies capable of crafting these applications with finesse. Our workflow involves the creation and deployment of applications directly from GitHub onto an OpenShift sandbox environment. Follow these steps to start your sandbox instance and deploy your Angular app:

  1. Create a Red Hat Sandbox account using https://developers.redhat.com/developer-sandbox

  2. Once you have the account and are signed in, On the left side menu, click on +Add.

  3. Select Import from Git.

  4. Specify your Git repo URL. For the sake of this tutorial, we usehttps://github.com/redhat-developer-demos/Angular-openshift-example.git. But, you can choose any AngularJS repo.

  5. Add a Containerfile to your repo. The Containerfile helps developers to specify the environment needed for running your applications. In case, you do not have a Containerfile on your project, you can add add one to your repo by referring to https://github.com/redhat-developer-demos/Angular-openshift-example/blob/main/Containerfile

  6. OpenShift will detect the Containerfile from the git repository. In case the Containerfile is in a subdirectory, you need to provide the path of Containerfile. [ NOTE: If the containerfile/Dockerfile is not detected, click Import Edit Strategy. Select as Dockerfile, define the path as Containerfile. ]

  7. Choose a Resource Type field, please choose either Deployment or Serverless Deployment (default option) depending on your preference.

  8. Select Target Port under Advanced options to define the port 8080 that will receive the container's traffic.

  9. Click on Create.

  10. You will now be directed to the Topology view, and the application will commence deployment. Please allow some time for the build & deployment process to complete. While it is in progress, you will have the opportunity to monitor the logs.

  11. Once it’s done deploying, you can click on the β†— OpenURL icon to see the webpage of your Angular application running on OpenShift.

In this tutorial, you learned how to deploy an Angular application on Red Hat OpenShift. Red Hat OpenShift has powerful features that make it easy to manage and scale your Angular application in production.

angular-openshift-example's People

Contributors

nageshredhat avatar mattthehearn avatar nageshrathod7 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.