Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-588: Holistic review of non-quarkus setup chapter #648

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ minikube config set container-runtime docker
minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000"

# Set the active profile
minikube profile minikube
minikube profile knative
----
--
Minikube with Podman::
Expand All @@ -65,7 +65,7 @@ minikube config set container-runtime podman
minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000"

# Set the active profile
minikube profile minikube
minikube profile knative
----
--
Kind::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,21 @@ You can use the {product_name} plug-in to set up your local workflow project qui
* (Optional) link:{docker_install_url}[Docker] is installed.
* (Optional) link:{podman_install_url}[Podman] is installed.
* link:{kubectl_install_url}[Kubernetes CLI] is installed.
* link:{kn_cli_install_url}[Knative CLI] is installed.

.Procedure
. Download the latest binaries from the link:{kie_tools_releases_page_url}[KIE Tooling Releases] page.
. Run the `kn workflow` command using one of the following methods:
. Download the latest binary file from the link:{kie_tools_releases_page_url}[KIE Tooling Releases] page.
. Install the `kn workflow` command as a plug-in of the Knative CLI using the following steps:
+
--
* Add `kn workflow` command in your system path and ensure that it is executable.
* Install `kn workflow` command as a plug-in of the Knative CLI using the following steps:
.. Install the Knative CLI. For installation instructions, see link:{kn_cli_install_url}[Installing kn] documentation.
.. Copy the `kn-workflow` binary to a directory in your `PATH`, such as `/usr/local/bin` and ensure that the file name is `kn-workflow`.
.. On Mac, add execution permission as follows:
.. Copy the `kn-workflow` binary file to a directory in your `PATH`, such as `/usr/local/bin` and ensure that the file name is `kn-workflow`.
.. Make the binary file executable as follows:
+
`chmod +x /usr/local/bin/kn-workflow`
+
[WARNING]
====
Some systems might block the application to run due to Apple enforcing policies. To fix this problem, check the *Security & Privacy* section in the *System Preferences* -> *General* tab to approve the application to run. For more information, see link:{apple_support_url}[Apple support article: Open a Mac app from an unidentified developer].
On Mac, some systems might block the application to run due to Apple enforcing policies. To fix this problem, check the *Security & Privacy* section in the *System Preferences* -> *General* tab to approve the application to run. For more information, see link:{apple_support_url}[Apple support article: Open a Mac app from an unidentified developer].
====
.. Run the following command to verify that `kn-workflow` plug-in is installed successfully:
+
Expand All @@ -50,7 +48,7 @@ After installing the plug-in, you can use `kn workflow` to run the related subco
. Use the `workflow` subcommand in Knative CLI as follows:
+
--
.Methods to use workflow subcommand
.Aliases to use workflow subcommand
[source,shell]
----
kn workflow
Expand All @@ -65,6 +63,9 @@ Manage SonataFlow projects
Usage:
kn workflow [command]

Aliases:
kn workflow, kn-workflow

Available Commands:
completion Generate the autocompletion script for the specified shell
create Creates a new SonataFlow project
Expand Down