https://github.com/shotaromatsuya/lara-refresher
Laravel学習用
https://github.com/shotaromatsuya/lara-refresher
backpack docker elasticsearch eloquent faker fluentd kibana laravel mysql nginx seeder
Last synced: about 2 months ago
JSON representation
Laravel学習用
- Host: GitHub
- URL: https://github.com/shotaromatsuya/lara-refresher
- Owner: ShotaroMatsuya
- Created: 2022-05-14T15:59:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T20:13:19.000Z (over 1 year ago)
- Last Synced: 2025-01-23T20:49:39.695Z (4 months ago)
- Topics: backpack, docker, elasticsearch, eloquent, faker, fluentd, kibana, laravel, mysql, nginx, seeder
- Language: PHP
- Homepage:
- Size: 38.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel apps repo
## starting project
Duplicate `.env.default` and create `.env`. Then enter the credentials in `.env` in the mysql container env_file
First things first, run this command bellow to generate an App key. And paste it in `.env`.
```bash
docker-compose run --rm artisan key:generate
```Next, Restore the dummy data to db using seeder.
```bash
docker-compose run --rm artisan migrate:fresh --seed
```---
## Forum-only workaround
Only this project gets an error during dependency install (composer install) due to a problem caused by the table definition in the Service Provider .
So, need to comment out the boot method in `app/Providers/AppServiceProvider.php` and then run install command.