This is a sample Laravel 11 application with example workflows that you can run inside a GitHub codespace.
Create a codespace from the main branch of this repo.
Wait for the codespace to build. This should take between 5 to 10 minutes.
Once the codespace has been created. You will see the editor and the terminal at the bottom.
Run the migrations to create the necessary database tables.
php artisan migrate
Start the queue worker. This will enable the processing of workflows and activities.
php artisan queue:work
Create a new terminal window.
Start the example workflow inside the new terminal window.
php artisan app:workflow
You can view the waterline dashboard via the mapped port.
Add /waterline/dashboard
to the URL e.g. https://[your-codespace-name]-80.preview.app.github.dev/waterline/dashboard
Run the workflow and activity tests.
php artisan test
That's it! You can now create and test workflows.