Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.69 KB

deploy-to-openshift-online.adoc

File metadata and controls

68 lines (56 loc) · 2.69 KB

Deploy the Quickstart to OpenShift Online

Use these instructions to deploy the quickstart to {OpenShiftOnlineName}. If you do not yet have an OpenShift Online account and are interested in signing up for one, see Choose a Plan in the OpenShift Online documentation located on the Red Hat Customer Portal. For information about running {ProductShortName} on {OpenShiftOnlineName}, see {EapForOpenshiftOnlineBookName}, also located on the Red Hat Customer Portal.

Create and Deploy the Quickstart Project

Follow these instructions to deploy this quickstart to OpenShift Online.

  1. Browse to OpenShift Online console and login with your credentials.

  2. On the View All Projects or Welcome to Project page, click Create Project.

  3. On the Create Project page, enter the following information:

    Name:  {artifactId}
    Display Name {artifactId}
    Description: {artifactId}
  4. Click Create to create the project.

  5. On the My Projects page, choose your new {artifactId} and click Browse Catalog.

  6. Choose {OpenShiftTemplateName} and then click Next to view the Information page.

  7. Click Next to navigate to the Configuration page. . . Enter the following information. You can leave the remaining fields as they are.

    Add to Project: {artifactId}
    Application Name: {artifactId}
    Custom http Route Hostname: (leave blank)
    Git Repository URL: {githubRepoUrl}
    Git Reference: {githubRepoBranch}
    Context directory: {artifactId}
  8. Click the Create button.

  9. Click on the Continue to the project overview link.

    • You should see "Build #1 is running …​" with the console log below.

      Cloning ...
      Downloading ...
      Building ...
      Copying ...
      Pushing ...
    • At the end of the build, you should see "Push successful".

    • Click View Full Log to see the entire log.

  10. Click the Overview tab to see the {artifactId} deployment.

  11. Click on the application URL on the right side of the page to view the running application. It should be in the following pattern:

    http://APPLICATION_NAME-PROJECT_NAME.PORT.HOST.openshiftapps.com

Delete the Quickstart Project

Follow these instructions to delete the project from OpenShift Online.

  1. Go to the View All Projects page and select Delete Project from the drop down list to the right of the {artifactId} project.

  2. Type the name of the project to confirm, and then click Delete