You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: documentation/modules/ROOT/pages/01-setup.adoc
+62-59
Original file line number
Diff line number
Diff line change
@@ -10,43 +10,14 @@ There are several ways to develop on OpenShift Serverless Logic:
10
10
This tutorial suggests the first option to minimize the workstation preparation work.
11
11
The rest of this chapter provides instructions for setting up the _full local development workstation_, and *you can skip it*.
12
12
13
+
[#local-runtime]
14
+
== Local Runtime
13
15
14
-
[#prerequisite]
15
-
== Prerequisite tools
16
-
17
-
WARNING: It is recommended that you complete this section using a reliable connection. Avoid doing this part of the lab on a shared connection because of the bandwidth requirements. Also, some tasks will take a long time to download resources.
16
+
`kn-workflow` is a handy tool for deploying your project in OpenShift, but it can also be used to run the workflow locally in a container (so you don't need to configure Java and Quarkus).
18
17
19
-
Here the tools to install:
20
-
21
-
[cols="4*^,4*.",options="header,+attributes"]
22
-
|===
23
-
|**Tool**|**Fedora**|**MacOS**|**Windows**
24
-
25
-
| `git`
26
-
| `dnf install -y git`
27
-
| https://git-scm.com/download/mac[Download]
28
-
| https://git-scm.com/download/win[Download]
29
-
30
-
| https://code.visualstudio.com/[Visual Studio Code]
31
-
| https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions[Download] or https://code.visualstudio.com/docs/setup/linux#_installing-rpm-package-manually[Install from the provided USB Stick Resources]
32
-
| https://code.visualstudio.com/docs/setup/mac[Download] or *Install from the provided USB Stick Resources*
33
-
| https://code.visualstudio.com/docs/setup/windows[Download] or *Install from the provided USB Stick Resources*
3+| Check the detailed instructions *below* under the proper tab
47
-
48
-
|===
18
+
Download the latest tar archive suitable for your environment, from the Serverless Logic https://mirror.openshift.com/pub/cgw/serverless-logic/latest/[download mirror] page.
49
19
20
+
=== Podman Installation and configuration
50
21
51
22
NOTE: If you have already installed _Docker_ in your environment, or you feel more comfortable with it, feel free to replace Podman with Docker.
52
23
@@ -238,6 +209,63 @@ podman machine set --rootful
238
209
--
239
210
====
240
211
212
+
=== Pull the Serverless Workflow devmode image
213
+
214
+
In order to run and test the Serverless Workflow project locally, you need a container image which is *lauched behind the scene by `kn-workflow`*.
215
+
However, as it's distributed through the official Red Hat registry, you'll need to login before pulling the image.
216
+
217
+
Find here the instruction on how to create / retrieve your credentials: https://access.redhat.com/RegistryAuthentication[Registry Authentication]
218
+
219
+
Login to *registry.redhat.io* with your Red Hat credentials;
NOTE: The parameter `--platform linux/amd64` is important when you run it on a Mac with an M1 chip (which has a different processor architecture)
235
+
236
+
237
+
[#prerequisite]
238
+
== Prerequisite tools
239
+
240
+
WARNING: It is recommended that you complete this section using a reliable connection. Avoid doing this part of the lab on a shared connection because of the bandwidth requirements. Also, some tasks will take a long time to download resources.
241
+
242
+
Here the tools to install:
243
+
244
+
[cols="4*^,4*.",options="header,+attributes"]
245
+
|===
246
+
|**Tool**|**Fedora**|**MacOS**|**Windows**
247
+
248
+
| `git`
249
+
| `dnf install -y git`
250
+
| https://git-scm.com/download/mac[Download]
251
+
| https://git-scm.com/download/win[Download]
252
+
253
+
| https://code.visualstudio.com/[Visual Studio Code]
254
+
| https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions[Download] or https://code.visualstudio.com/docs/setup/linux#_installing-rpm-package-manually[Install from the provided USB Stick Resources]
255
+
| https://code.visualstudio.com/docs/setup/mac[Download] or *Install from the provided USB Stick Resources*
256
+
| https://code.visualstudio.com/docs/setup/windows[Download] or *Install from the provided USB Stick Resources*
In order to run and test locally the Serverless Workflow project, you need the data index container image, it will be *started behind the scene by Quarkus*.
266
-
However, since it's distributed through the Red Hat official registry you have to login before pulling the image.
267
-
268
-
Find here the instruction on how to create / retrieve your credentials: https://access.redhat.com/RegistryAuthentication[Registry Authentication]
269
-
270
-
Login to *registry.redhat.io* with your Red Hat credentials;
0 commit comments