<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I had not heard about “oc get templates -n openshift”, that might be the missing link, the magic bit that I have been missing for months of pain & suffering :-)</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Perhaps that should be the default “starting point” for every newbie user.  </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Step 1: oc login</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Step 2: oc get templates -n openshift</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Step 3: oc new-project</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Step 4: oc new-app <template-name></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">So the next question is…if I “oc new-app <tempalate-name>”, I then need some docs for each template that cover:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">- Do I need to “oc get services” and “oc expose <service>” in order to make its endpoints addressable, by the browser in case of web apps/admin consoles and in the case of amq6, I need to expose AMQP, MQTT and MQTT+WS ports</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">- how to configure - how to insure AMQP, MQTT and MQTT+WS are in fact working on amq6</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">- how to inject my custom code - mostly by editing the ‘hello world” that is in there, save, git push, whatever, refresh browser</div> <div><br></div>and I assume the best clean up after my experimentation is “oc delete project <step3>” when I am done playing and I wish to regain the memory used by the running containers.<br> <div id="bloop_sign_1449149188224556800" class="bloop_sign"><br></div> <br><p class="airmail_on">On December 3, 2015 at 12:22:02 AM, Praveen Kumar (<a href="mailto:kumarpraveen.nitdgp@gmail.com">kumarpraveen.nitdgp@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>On Wed, Dec 2, 2015 at 9:01 PM, Carl Trieloff <cctrieloff@redhat.com> wrote:
<br>>
<br>> On 12/02/2015 08:40 AM, Burr Sutter wrote:
<br>>
<br>> aniel, has anyone written down some instructions on how to use the openshift
<br>> inside of “rhel-ose”?
<br>>
<br>> https://10.1.2.2/console works
<br>
<br>I am hoping that you used CDK box for this experiment. If you
<br>installed 'oc' binary to your host then you have to first login before
<br>perform/execute any operations. we also have predefined templates to
<br>test our setup. If you are in CDK box using ssh then you don't have to
<br>login because it have already required config exported but other steps
<br>works as expected.
<br>
<br>If you still face any issue please let us know what steps you followed
<br>so we can also reproduce.
<br>
<br># oc login https://10.1.2.2:8443/
<br># oc get templates -n openshift
<br># oc new-app <template-name>
<br># oc status
<br>
<br>
<br>>
<br>> but
<br>>
<br>> oc new-project myapache
<br>> oc new-app fedora/myapache
<br>>
<br>> nor
<br>>
<br>> oc new-project mynode
<br>> oc new-app https://github.com/openshift/nodejs-ex.git
<br>>
<br>> work for me on Mac OSX
<br>
<br>
<br>--  
<br>Praveen Kumar
<br>http://fedoraproject.org/wiki/User:Kumarpraveen
<br>http://fedoraproject.org/
<br>http://kumar-pravin.blogspot.com
<br></div></div></span></blockquote></body></html>