mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
acbbe99ef3bdaf1f0331bc4797759b9fa62628f7
ocdev
What is ocdev?
OpenShift Command line for Developers
Installation
You can download latest binaries (build automatically from current master branch).
How to use ocdev as an oc plugin?
- make sure that ocdev binary exists in your $PATH
- copy the plugin.yaml file to ~/.kube/plugins/ocdev/
- use the plugin as
oc plugin dev
Concepts
- An application is, well, your application! It consists of multiple microservices or components, that work individually to build the entire application.
- A component can be thought of as a microservice. Multiple components will make up an application. A component will have different attributes like storage, etc. Multiple component types are currently supported, like nodejs, perl, php, python, ruby, etc.
Getting Started
-
Create and start working on a new application:
ocdev application create <application name> -
Deploy code in current directory:
ocdev component create <component type> --dir=. -
Test your application and make changes to the code
-
Deploy changes to the application:
ocdev component push -
Go back to 3.
CLI Structure
ocdev --verbose : OpenShift CLI for Developers
application : application
create : create an application
delete : delete the given application
get --short : get the active application
list : lists all the applications
completion : Output shell completion code
component : components of application
create --binary --dir --git : component create <component_type> [component_name]
delete : component delete <component_name>
get --short : component get
push --dir : component push
storage --component : storage
add --path --size : create storage and mount to component
list : list storage attached to a component
remove : remove storage from component
version : Print the version of ocdev
*autogenerated
Description
odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
containersdeveloper-experiencedeveloper-tooldeveloper-toolsdevfiledevfilesgogolangkubernetesopenshiftpodman
Readme
Apache-2.0
384 MiB
Languages
Go
47.7%
JavaScript
43.1%
HTML
5.2%
TypeScript
2.4%
Shell
1.1%
Other
0.3%