- `oc` is the OpenShift command-line client
- Some common commands:
- Login: `oc login`
- Projects: `oc projects`, `oc new-project`
- Information: `oc get` and `oc describe` (describe is for humans, get is machine-friendly JSON/YAML)
- Create: `oc create`
- Modify: `oc edit` and `oc replace` (edit is interactive)
- Delete: `oc delete`
---
# Installation
-
- You can install just the `oc` command part
---
# Log in
- Create a new application from source code, e.g.:
```txt
oc new-app https://github.com/openshift/django-ex.git
```
- This clones the repo, analyses it, builds an image with the code, and launches it
- Make it reachable from the internet:
```txt
oc expose svc/django-ex
```