Skip to content

Commit 2dd24b9

Browse files
Nicuschgifthubnicosammito
authored andcommitted
tutorials update
1 parent 92bf1af commit 2dd24b9

38 files changed

Lines changed: 68 additions & 44 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Quick - Creating a Flow
3+
icon: IconBook2
4+
---
5+
6+
import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
7+
import { Callout } from 'fumadocs-ui/components/callout';
8+
import { Step, Steps } from 'fumadocs-ui/components/steps';
9+
import { Cards, Card } from 'fumadocs-ui/components/card';
10+
11+
The flow we are creating will simply reply with `pong`, when requesting the url path using the `GET` Method
12+
13+
<Steps>
14+
<Step>
15+
Create a new Flow
16+
17+
![CodeZero](../../../public/tutorials/quick-first-flow/cZ_01_clickOnCreateFlow.png)
18+
19+
Select the Trigger to be an Rest-Endpoint, then add a name and create your Flow
20+
21+
![CodeZero](../../../public/tutorials/quick-first-flow/cZ_02_selectTriggerAndCreate.png)
22+
23+
</Step>
24+
<Step>
25+
26+
Select your new Flow
27+
28+
![CodeZero](../../../public/tutorials/quick-first-flow/cZ_03_selectTheNewFlow.png)
29+
30+
</Step>
31+
</Steps>

content/general/tutorials/quick_first_personal_project.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ import { Cards, Card } from 'fumadocs-ui/components/card';
1111
<Steps>
1212
<Step>
1313

14-
Now that you have created a runtime we can add it to and Projects, since we currenlty have no projects lets create one first.
15-
For that navigate back to your home screen by clicking on `Home`
14+
For creating a personal project navigate back to your home screen by clicking on `Home`
1615

17-
![CodeZero](../../../public/tutorials/quick-first-personal-project/CodeZero_Menu_RuntimePersonalGoToHome.png)
16+
![CodeZero](../../../public/tutorials/quick-first-personal-project/cZ_01_returnToHomePage.png)
1817

19-
From there press `Create` under `Personal projects`
20-
![CodeZero](../../../public/tutorials/quick-first-personal-project/CodeZero_PersonalProject_CreateNew.png)
18+
From there click on `Create` under `Personal projects`
19+
![CodeZero](../../../public/tutorials/quick-first-personal-project/cZ_02_clickOnNewProject.png)
2120

2221
Enter a `Name` and `Description` then click `Create project`
2322

24-
![CodeZero](../../../public/tutorials/quick-first-personal-project/CodeZero_PersonalProject_CreateNewProject.png)
23+
![CodeZero](../../../public/tutorials/quick-first-personal-project/cZ_03_enterNameAndDescription.png)
2524

25+
After that you have created a Personal Project
26+
27+
![CodeZero](../../../public/tutorials/quick-first-personal-project/cZ_04_createYourNewProject.png)
2628

2729

2830
</Step>

content/general/tutorials/quick_login_ide.mdx

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,15 @@ HOSTNAME=localhost
2626
HTTP_PORT=80
2727
HTTPS_PORT=443
2828
SSL_ENABLED=false
29-
SSL_CERT_FILE= # must be located in ./certs, defaults to "<hostname>.pem"
30-
SSL_KEY_FILE= # must be located in ./certs, defaults to "<hostname>.key"
29+
# must be located in ./certs, defaults to "<hostname>.pem"
30+
SSL_CERT_FILE=
31+
# must be located in ./certs, defaults to "<hostname>.key"
32+
SSL_KEY_FILE=
3133

32-
INITIAL_ROOT_PASSWORD=myWebPassword
34+
INITIAL_ROOT_PASSWORD=tutorials
3335
INITIAL_ROOT_MAIL=tutorials@code0.tech
34-
INITIAL_RUNTIME_TOKEN= # can be used to create a global runtime with given token
35-
36-
# Runtime config
37-
AQUILA_SAGITTARIUS_URL=http://nginx:80
38-
AQUILA_SAGITTARIUS_TOKEN=
39-
DRACO_REST_PORT=8084
36+
# can be used to create a global runtime with given token
37+
INITIAL_RUNTIME_TOKEN=runtime
4038
...
4139
```
4240

@@ -56,7 +54,7 @@ DRACO_REST_PORT=8084
5654

5755
<Tab value="Remote Access">
5856
### Remote Server
59-
If you are accessing a server on your local network, use the its IP address.
57+
If you are accessing a server on your local network, use its IP address.
6058

6159
```text
6260
http://192.168.2.105
@@ -77,23 +75,20 @@ HOSTNAME=localhost
7775
HTTP_PORT=80
7876
HTTPS_PORT=443
7977
SSL_ENABLED=false
80-
SSL_CERT_FILE= # must be located in ./certs, defaults to "<hostname>.pem"
81-
SSL_KEY_FILE= # must be located in ./certs, defaults to "<hostname>.key"
82-
78+
# must be located in ./certs, defaults to "<hostname>.pem"
79+
SSL_CERT_FILE=
80+
# must be located in ./certs, defaults to "<hostname>.key"
81+
SSL_KEY_FILE=
8382
# [!code highlight:2]
84-
INITIAL_ROOT_PASSWORD=myWebPassword
83+
INITIAL_ROOT_PASSWORD=tutorials
8584
INITIAL_ROOT_MAIL=tutorials@code0.tech
86-
INITIAL_RUNTIME_TOKEN= # can be used to create a global runtime with given token
87-
88-
# Runtime config
89-
AQUILA_SAGITTARIUS_URL=http://nginx:80
90-
AQUILA_SAGITTARIUS_TOKEN=A_TOKEN
91-
DRACO_REST_PORT=8084
85+
# can be used to create a global runtime with given token
86+
INITIAL_RUNTIME_TOKEN=runtime
9287
...
9388
```
9489

9590
Enter the `INITIAL_ROOT_MAIL` and `INITIAL_ROOT_PASSWORD` into their corresponding login fields, then click **Login**.
9691

97-
![CodeZero](../../../public/tutorials/quick-first-login/CodeZero_LoginPage.png)
92+
![CodeZero](../../../public/tutorials/quick-first-login/cZ_01_loginPageEnterNameAndPassword.png)
9893
</Step>
9994
</Steps>

content/general/tutorials/quick_setting_up_a_project.mdx

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,50 @@ import { Cards, Card } from 'fumadocs-ui/components/card';
1010

1111
<Steps>
1212
<Step>
13-
Go to your created project you want to setup
13+
Go to your created project you want to setup for Flow creation
1414

15-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_NavigateToProject.png)
15+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_01_navigateToYourProject.png)
1616

1717
</Step>
1818
<Step>
1919
Then go to the Runtime tab
2020

21-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_NavigateToRuntimes.png)
21+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_02_navigateToRuntimes.png)
2222

2323
Then add your Runtime
2424

25-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_addRuntime.png)
26-
27-
Make the added Runtime Primary
28-
29-
30-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_makeRuntimePrimary.png)
25+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_03_addRuntime.png)
3126

3227
</Step>
3328
<Step>
3429

3530
Navigate to your Project settings
3631

37-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_NavigateToSettings.png)
32+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_04_navigateToSettings.png)
3833

39-
Edit the slug to your prefered route
34+
Edit the slug and to your prefered route. You can also change the description and the name if you like.
4035

41-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_editSlug.png)
36+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_05_editSettingsAsYouWant.png)
4237

4338
<Callout type="info">
4439
This slug will be used later as the path to your flow:
4540

4641
`http://localhost:<DRACO_REST_PORT>/<your-new-slug>/<flow-path>`
4742
</Callout>
48-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_saveNewSlug.png)
43+
44+
Then save your settings.
45+
46+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_06_saveYourSettings.png)
4947

5048
</Step>
5149
<Step>
5250
Navigate to Flows
5351

54-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_goToFlows.png)
52+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_07_navigateToProjectHome.png)
5553

56-
<Callout type="info">
5754
Here you can start creating flows
58-
</Callout>
5955

60-
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/CodeZero_SettingUpProject_viewFlowMenu.png)
56+
![CodeZero](../../../public/tutorials/quick-setting-up-a-project/cZ_08_flows.png)
6157

6258
</Step>
6359
</Steps>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
314 KB
Loading

0 commit comments

Comments
 (0)