# MiniShift
### host need to be Metal or kvm as hypervisor
```I0927 01:27:01.197536 4560 interface.go:41] Finished installing "sample-templates/cakephp quickstart" "sample-templates/nodejs quickstart" "sample-templates/rails quickstart" "sample-templates/jenkins pipeline ephemeral" "sample-templates/mongodb" "sample-templates/mariadb" "sample-templates/mysql" "sample-templates/postgresql" "sample-templates/dancer quickstart" "sample-templates/django quickstart" "sample-templates/sample pipeline"
I0927 01:27:33.830515 4560 interface.go:41] Finished installing "openshift-image-registry" "sample-templates" "persistent-volumes" "openshift-web-console-operator" "centos-imagestreams" "openshift-router"
Login to server ...
Creating initial project "myproject" ...
Server Information ...
OpenShift server started.
The server is accessible via web console at:
https://192.168.42.107:8443/console
You are logged in as:
User: developer
Password: <any value>
To login as administrator:
oc login -u system:admin
-- Exporting of OpenShift images is occuring in background process with pid 8131.
```
[minishift-download](https://github.com/minishift/minishift/releases)
[minishift -install](https://docs.okd.io/latest/minishift/getting-started/quickstart.html)
[example-mini-shift](https://docs.okd.io/latest/minishift/getting-started/quickstart.html)
```
Create a Node.js example app:
$ oc new-app https://github.com/sclorg/nodejs-ex -l name=myapp
Track the build log until the app is built and deployed:
$ oc logs -f bc/nodejs-ex
Expose a route to the service:
$ oc expose svc/nodejs-ex
Access the application:
$ minishift openshift service nodejs-ex --in-browser
To stop Minishift, use the following command:
$ minishift stop
Stopping local OpenShift cluster...
Stopping "minishift"...
```