# sample-laravel-workflow-app
**Repository Path**: King_first/sample-laravel-workflow-app
## Basic Information
- **Project Name**: sample-laravel-workflow-app
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-01-31
- **Last Updated**: 2024-01-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Laravel Workflow Sample App
This is a sample Laravel 10 application with example workflows that you can run inside a GitHub codespace.
### Step 1
Create a codespace from the main branch of this repo.
### Step 2
Wait for the codespace to build. This should take between 5 to 10 minutes.
### Step 3
Once the codespace has been created. You will see the editor and the terminal at the bottom.
### Step 4
Run the migrations to create the necessary database tables.
```bash
php artisan migrate
```
### Step 5
Start the queue worker. This will enable the processing of workflows and activities.
```bash
php artisan queue:work
```
### Step 6
Create a new terminal window.
### Step 7
Start the example workflow inside the new terminal window.
```bash
php artisan workflow
```
### Step 8
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`
### Step 9
Run the workflow and activity tests.
```bash
php artisan test
```
That's it! You can now create and test workflows.