Minishift

Install

https://docs.openshift.org/latest/minishift/getting-started/installing.html
Note: Hypervisor Hyper-V does not seem to have version for Windows 7

Starting Minishift

Run the minishift start command

Note: This will create a VM in VirtualBox
>minishift start --vm-driver=virtualbox
...
OpenShift server started.
The server is accessible via web console at:
    https://192.168.99.100:8443
You are logged in as:
    User:     developer
    Password: <any value>
To login as administrator:
    oc login -u system:admin

Use minishift oc-env

The following was executed on a Windows 7 box:

>minishift oc-env

SET PATH=D:\Usuarios\<username>\.minishift\cache\oc\v3.6.1\windows;%PATH%

REM Run this command to configure your shell:

REM @FOR /f "tokens=*" %i IN ('minishift oc-env') DO @call %i

Deploying a Sample Application

Create a Node.js example app:

>oc new-app https://github.com/openshift/nodejs-ex -l name=myapp

...

Track the build log until the app is built and deployed:

>oc logs -f bc/nodejs-ex

...
Pushed 10/10 layers, 100% complete
Push successful
Expose a route to the service:
>oc expose svc/nodejs-ex
route "nodejs-ex" exposed

Access the application:

>minishift openshift service nodejs-ex --in-browser

Note: This will open the application in the default browser, for this example the url was:

http://nodejs-ex-myproject.192.168.99.100.nip.io/

To stop Minishift, use the following command:

>minishift stop

Stopping local OpenShift cluster...

Cluster stopped.