Skip to content

Commit 765215f

Browse files
authored
Simple Workshop improvements for Lab 1 (#106)
Signed-off-by: Matheus Cruz <[email protected]>
1 parent 6535cfd commit 765215f

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

docs/modules/ROOT/pages/wk-lab-1-hello-flow-devui.adoc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,39 @@ If you don’t have a project yet, use the Quarkus CLI:
1616
[source,shell]
1717
----
1818
quarkus create app org.acme:hello-flow \
19-
--extension=resteasy-reactive-jackson,io.quarkiverse.flow:quarkus-flow
19+
--extension=resteasy-reactive-jackson
2020
cd hello-flow
2121
----
2222

2323
Or add RESTEasy Reactive with JSON to an existing project.
2424

25+
[NOTE]
26+
====
27+
Quarkus Flow has a Codestart available, which you can use to create a project with a sample workflow and JAX-RS endpoint.
28+
29+
As we are focusing on creating a minimal example here, we won’t use the Codestart in this lab.
30+
====
31+
32+
== Add the Quarkus Flow extension
33+
34+
Add the Quarkus Flow extension to your project:
35+
36+
[source,shell]
37+
----
38+
./mvnw quarkus:add-extension -Dextensions="io.quarkiverse.flow:quarkus-flow"
39+
----
40+
41+
Or add manually to your `pom.xml`:
42+
43+
[source,xml]
44+
----
45+
<dependency>
46+
<groupId>io.quarkiverse.flow</groupId>
47+
<artifactId>quarkus-flow</artifactId>
48+
<version>{project-version}</version>
49+
</dependency>
50+
----
51+
2552
== 2. Create a minimal workflow
2653

2754
Create a `Flow` subclass that returns a simple greeting.

0 commit comments

Comments
 (0)