Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements Workbench feature #9

Merged
merged 3 commits into from
Aug 24, 2023
Merged

Implements Workbench feature #9

merged 3 commits into from
Aug 24, 2023

Conversation

crynobone
Copy link
Member

To preview the WIP package without loading inside a Laravel project, you can use the following commands:

composer run serve

To use MySQL database, you just need to do the following:

  1. Copy workbench/.env.example to workbench/.env
  2. Configure .env variable depending on your local setup
  3. Run composer run serve

To preview the WIP package without loading inside a Laravel project, you
can use the following commands:

```bash
composer run serve
```

To use MySQL database, you just need to do the following:

1. Copy `workbench/.env.example` to `workbench/.env`
2. Configure `.env` variable depending on your local setup
3. Run `composer run serve`

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone
Copy link
Member Author

In case we want to default to sqlite in the future:

Edit testbench.yaml and add create-sqlite-db under build step:

  build:
    - asset-publish
    - create-sqlite-db
    - migrate-refresh

Then update workbench/.env to use DB_CONNECTION=sqlite and comment the other DB_* settings:

DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel_pulse
# DB_USERNAME=root
# DB_PASSWORD=

@taylorotwell taylorotwell merged commit e250582 into master Aug 24, 2023
3 of 4 checks passed
@taylorotwell taylorotwell deleted the workbench branch August 24, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants