Skip to content

Commit c95001e

Browse files
authored
Update sample-app.md
1 parent 6ca493a commit c95001e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: docs/sample-app.md

+27
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,72 @@ sidebar_position: 7
66

77
[This](https://github.com/laravel-workflow/sample-app) is a sample Laravel 11 application with example workflows that you can run inside a GitHub codespace.
88

9+
<br />
10+
911
**Step 1**
12+
1013
Create a codespace from the main branch of [this](https://github.com/laravel-workflow/sample-app) repo.
1114

1215
<img src="https://user-images.githubusercontent.com/1130888/233664377-f300ad50-5436-4bb8-b172-c52e12047264.png" alt="image" width="300" />
1316

17+
<br />
18+
1419
**Step 2**
20+
1521
Wait for the codespace to build. This should take between 5 to 10 minutes.
1622

1723
<img src="https://user-images.githubusercontent.com/1130888/233664397-4ae156f3-f69b-406f-b6d4-4f9316684000.png" alt="image" width="500" />
1824

25+
<br />
26+
1927
**Step 3**
28+
2029
Once the codespace has been created. You will see the editor and the terminal at the bottom.
2130

2231
<img src="https://user-images.githubusercontent.com/1130888/233665550-1a4f2098-2919-4108-ac9f-bef1a9f2f47c.png" alt="image" width="400" />
2332

33+
<br />
34+
2435
**Step 4**
36+
2537
Run the migrations to create the necessary database tables.
2638

2739
```bash
2840
php artisan migrate
2941
```
3042

43+
<br />
44+
3145
**Step 5**
46+
3247
Start the queue worker. This will enable the processing of workflows and activities.
3348

3449
```bash
3550
php artisan queue:work
3651
```
3752

53+
<br />
54+
3855
**Step 6**
56+
3957
Create a new terminal window.
4058

4159
<img src="https://user-images.githubusercontent.com/1130888/233666917-029247c7-9e6c-46de-b304-27473fd34517.png" alt="image" width="200" />
4260

61+
<br />
62+
4363
**Step 7**
64+
4465
Start the example workflow inside the new terminal window.
4566

4667
```bash
4768
php artisan app:workflow
4869
```
4970

71+
<br />
72+
5073
**Step 8**
74+
5175
You can view the waterline dashboard via the mapped port.
5276

5377
<img src="https://user-images.githubusercontent.com/1130888/233668485-b988e336-0462-4bbc-bb77-78c73df363b4.png" alt="image" width="500" />
@@ -56,7 +80,10 @@ Add `/waterline/dashboard` to the URL e.g. `https://[your-codespace-name]-80.pre
5680

5781
<img src="https://user-images.githubusercontent.com/1130888/233669600-3340ada6-5f73-4602-8d82-a81a9d43f883.png" alt="image" width="600" />
5882

83+
<br />
84+
5985
**Step 9**
86+
6087
Run the workflow and activity tests.
6188

6289
```bash

0 commit comments

Comments
 (0)