mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
committed by
GitHub
parent
be5c66bcf6
commit
16abaca3e9
@@ -39,7 +39,6 @@ Ready to get started? Follow the instructions below to set up Odo in your enviro
|
||||
### Requirements
|
||||
|
||||
- `minishift` or an OpenShift environment 3.9.0+. The best way to deploy a development environment for OpenShift is using [Minishift](https://github.com/minishift/minishift).
|
||||
- `oc`, the OpenShift command line tool. Instructions for installing `oc` can be found [here](https://docs.openshift.org/latest/cli_reference/get_started_cli.html#installing-the-cli).
|
||||
|
||||
### Installing Odo
|
||||
|
||||
@@ -93,7 +92,7 @@ Now that you have Odo installed, follow these steps to build, push, and deploy a
|
||||
$ minishift start
|
||||
|
||||
# Log into the OpenShift cluster
|
||||
$ oc login -u developer -p developer
|
||||
$ odo login -u developer -p developer
|
||||
|
||||
# Create an application. An application in Odo is an umbrella under which you add other components
|
||||
$ odo app create node-example-app
|
||||
|
||||
@@ -26,7 +26,6 @@ We'll be going over the following steps:
|
||||
A few requirements before we proceed!
|
||||
|
||||
- A running OpenShift cluster (we recommend using [`minishift`](https://docs.openshift.org/latest/minishift/getting-started/installing.html))
|
||||
- `oc` binary ([installation guide here](https://docs.openshift.org/latest/minishift/getting-started/quickstart.html#starting-minishift))
|
||||
- `odo` binary ([installation guide here](/README.md#installation))
|
||||
|
||||
The quickest way to deploy a development OpenShift cluster is by using [minishift](https://docs.openshift.org/latest/minishift/index.html). Alternatively, `odo` will automatically work with any OpenShift cluster you're currently logged into.
|
||||
@@ -80,7 +79,7 @@ The server is accessible via web console at:
|
||||
Now log into the OpenShift cluster:
|
||||
|
||||
```sh
|
||||
$ oc login -u developer -p developer
|
||||
$ odo login -u developer -p developer
|
||||
Login successful.
|
||||
|
||||
You have one project on this server: "myproject"
|
||||
@@ -229,6 +228,8 @@ After you've enabled / started `minishift`, you'll be able to list the services
|
||||
|
||||
## Adding a Custom Builder
|
||||
|
||||
**This section assumes that the `oc` binary has been [installed](https://docs.openshift.org/latest/cli_reference/get_started_cli.html#installing-the-cli) and is present on the $PATH**
|
||||
|
||||
OpenShift includes the ability to add a [custom image](https://docs.openshift.com/container-platform/3.7/creating_images/custom.html) to bridge the gap in the creation of custom images.
|
||||
|
||||
A custom builder image usually includes the base image of [openshift/origin-custom-docker-builder](https://hub.docker.com/r/openshift/origin-custom-docker-builder/).
|
||||
|
||||
Reference in New Issue
Block a user