Skip to content

Commit 2f08bc6

Browse files
authored
Update sample-app.md
1 parent 88804f5 commit 2f08bc6

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

Diff for: docs/sample-app.md

+20-10
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,68 @@ sidebar_position: 7
77
[This](https://github.com/laravel-workflow/sample-app) is a sample Laravel 12 application with example workflows that you can run inside a GitHub codespace.
88

99

10-
*Step 1*
10+
**Step 1**
11+
1112
Create a codespace from the main branch of this repo.
1213

1314
![image](https://user-images.githubusercontent.com/1130888/233664377-f300ad50-5436-4bb8-b172-c52e12047264.png)
1415

15-
*Step 2*
16+
**Step 2**
17+
1618
Once the codespace has been created, wait for the codespace to build. This should take between 5 to 10 minutes.
1719

18-
*Step 3*
20+
**Step 3**
21+
1922
Once it is done. You will see the editor and the terminal at the bottom.
2023

2124
![image](https://user-images.githubusercontent.com/1130888/233665550-1a4f2098-2919-4108-ac9f-bef1a9f2f47c.png)
2225

23-
*Step 4*
26+
**Step 4**
27+
2428
Run composer install.
2529

2630
```bash
2731
composer install
2832
```
2933

30-
*Step 5*
34+
**Step 5**
35+
3136
Run the init command to setup the app, install extra dependencies and run the migrations.
3237

3338
```bash
3439
php artisan app:init
3540
```
3641

37-
*Step 6*
42+
**Step 6**
43+
3844
Start the queue worker. This will enable the processing of workflows and activities.
3945

4046
```bash
4147
php artisan queue:work
4248
```
4349

44-
*Step 7*
50+
**Step 7**
51+
4552
Create a new terminal window.
4653

4754
![image](https://user-images.githubusercontent.com/1130888/233666917-029247c7-9e6c-46de-b304-27473fd34517.png)
4855

49-
*Step 8*
56+
**Step 8**
57+
5058
Start the example workflow inside the new terminal window.
5159

5260
```bash
5361
php artisan app:workflow
5462
```
5563

56-
*Step 9*
64+
**Step 9**
65+
5766
You can view the waterline dashboard at https://[your-codespace-name]-80.preview.app.github.dev/waterline/dashboard.
5867

5968
![image](https://user-images.githubusercontent.com/1130888/233669600-3340ada6-5f73-4602-8d82-a81a9d43f883.png)
6069

61-
*Step 10*
70+
**Step 10**
71+
6272
Run the workflow and activity tests.
6373

6474
```bash

0 commit comments

Comments
 (0)