Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.89 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.89 KB

Laravel Workflow Sample App

This is a sample Laravel 11 application with example workflows that you can run inside a GitHub codespace.

Step 1

Create a codespace from the main branch of this repo.

image

Step 2

Wait for the codespace to build. This should take between 5 to 10 minutes.

image

Step 3

Once the codespace has been created. You will see the editor and the terminal at the bottom.

image

Step 4

Run the migrations to create the necessary database tables.

php artisan migrate

Step 5

Start the queue worker. This will enable the processing of workflows and activities.

php artisan queue:work

Step 6

Create a new terminal window.

image

Step 7

Start the example workflow inside the new terminal window.

php artisan app:workflow

Step 8

You can view the waterline dashboard via the mapped port.

image

Add /waterline/dashboard to the URL e.g. https://[your-codespace-name]-80.preview.app.github.dev/waterline/dashboard

image

Step 9

Run the workflow and activity tests.

php artisan test

That's it! You can now create and test workflows.