이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 2. Application Life Cycle Examples


2.1. Overview

As a PaaS, OpenShift Enterprise is designed for building and deploying applications. Depending on how much you want to involve OpenShift Enterprise in the development process, you can choose to develop on OpenShift Enterprise and use it to continuously develop an application, or you can deploy a fully developed application onto an OpenShift Enterprise instance.

2.2. Developing on OpenShift Enterprise

Deploying then developing on OpenShift Enterprise

You can develop your application on OpenShift Enterprise directly. Use the following process if you plan to use OpenShift Enterprise as a method to build and deploy your application:

Initial Planning
  • What does your application do?
  • What programming language will it be developed in?
Access to OpenShift Enterprise
  • OpenShift Enterprise should be installed by this point, either by yourself or an administrator within your organization.
Develop
  • Using your editor/IDE of choice, create a basic skeleton of an application. It should be developed enough to tell OpenShift Enterprise what kind of application it is.
  • Push the code to your Git repository.
Generate
Manage
  • Start developing your application code.
  • Ensure your application builds successfully.
  • Continue to locally develop and polish your code.
  • Push your code to a Git repository.
  • Is any extra configuration needed? Explore the Developer Guide for more options.
Verify
  • You can verify your application in a number of ways. You can push your changes to your application’s Git repository, and use OpenShift Enterprise to rebuild and redeploy your application. Alternatively, you can hot deploy using rsync to synchronize your code changes into a running pod.

2.3. Developing Then Deploying on OpenShift Enterprise

Developing then deploying on OpenShift Enterprise

Another possible application life cycle is to develop locally, then use OpenShift Enterprise to deploy your fully developed application. Use the following process if you plan to have application code already, then want to build and deploy onto an OpenShift Enterprise installation when completed:

Initial Planning
  • What does your application do?
  • What programming language will it be developed in?
Develop
  • Develop your application code using your editor/IDE of choice.
  • Build and test your application code locally.
  • Push your code to a Git repository.
Access to OpenShift Enterprise
  • OpenShift Enterprise should be installed by this point, either by yourself or an administrator within your organization.
Generate
Verify
  • Ensure that the application that you have built and deployed in the above Generate step is successfully running on OpenShift Enterprise.
Manage
  • Continue to develop your application code until you are happy with the results.
  • Rebuild your application in OpenShift Enterprise to accept any newly pushed code.
  • Is any extra configuration needed? Explore the Developer Guide for more options.
Red Hat logoGithubRedditYoutube

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.