|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<cheatsheet title="Creating and deploying application to OpenShift"> |
| 3 | + <intro> |
| 4 | + <description>This cheatsheet will guide you through creating, building and deploying |
| 5 | + application to Openshift. |
| 6 | + </description> |
| 7 | + </intro> |
| 8 | + <item title="Start CDK/Minishift"> |
| 9 | + <description>Follow these steps to start CDK/Minishift in Eclipse |
| 10 | + </description> |
| 11 | + <subitem |
| 12 | + label="Open 'Servers View'"> |
| 13 | + </subitem> |
| 14 | + <subitem |
| 15 | + label="Select 'Container Development Environment 3.2+'"> |
| 16 | + </subitem> |
| 17 | + <subitem |
| 18 | + label="On local tool bar press 'Start the server' button"> |
| 19 | + </subitem> |
| 20 | + <subitem |
| 21 | + label="Wait for virtual machine is up and running"> |
| 22 | + </subitem> |
| 23 | + <subitem |
| 24 | + label="Accept untrusted SSL certificate to connect to OpenShift cluster"> |
| 25 | + </subitem> |
| 26 | + </item> |
| 27 | + <item title="Create OpenShift Application"> |
| 28 | + <description>Follow these steps to create, build, and deploy the application |
| 29 | + </description> |
| 30 | + <subitem label="Open Openshift Explorer View"> |
| 31 | + <command |
| 32 | + required="true" |
| 33 | + serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.jboss.tools.openshift.express.ui.explorer.expressConsoleView)"/> |
| 34 | + </subitem> |
| 35 | + <subitem label="Select 'New->Application...' from context menu for root node"> |
| 36 | + </subitem> |
| 37 | + <subitem label="Select nodejs-mongo-persistent project from 'Server application source' list"> |
| 38 | + </subitem> |
| 39 | + <subitem label="Press 'Next' button to see 'Template parameters' page"> |
| 40 | + </subitem> |
| 41 | + <subitem label="Press 'Finish' button to create application"> |
| 42 | + </subitem> |
| 43 | + <subitem label="Press 'OK' button in 'Create Application Summary' dialog"> |
| 44 | + </subitem> |
| 45 | + <subitem label="Press 'OK' button in 'Create Application Summary' dialog"> |
| 46 | + </subitem> |
| 47 | + <subitem label="Press 'Finish' button in 'Import OpenShift Application' dialog"> |
| 48 | + </subitem> |
| 49 | + <subitem label="Press 'Yes' button to create server adapter for imported application"> |
| 50 | + </subitem> |
| 51 | + </item> |
| 52 | + <item title="Wait Application built and deployed"> |
| 53 | + <description>When the application is finished building and deploying you should see two running pods in <b>OpenShift Explorer View</b>. |
| 54 | + </description> |
| 55 | + </item> |
| 56 | + <item title="Open Application home page in browser"> |
| 57 | + <description>At this point, you've successfully built and deployed a Node.js and MongoDB application in containers running on OpenShift on your personal OpenShift cluster. |
| 58 | + From context menu for 'My Project' node in OpenShift Explorer tree select 'Show In->Web Browser' to see your Application home page in browser. |
| 59 | + </description> |
| 60 | + </item> |
| 61 | +</cheatsheet> |
0 commit comments