Skip to content

Commit 0a49dd8

Browse files
authored
Merge pull request #2 from thekubera/feat/readme-update
Few adjustments
2 parents 360bc01 + 5f682ba commit 0a49dd8

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.env.example

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ LOG_STACK=single
1919
LOG_DEPRECATIONS_CHANNEL=null
2020
LOG_LEVEL=debug
2121

22-
DB_CONNECTION=sqlite
23-
# DB_HOST=127.0.0.1
24-
# DB_PORT=3306
25-
# DB_DATABASE=laravel
26-
# DB_USERNAME=root
27-
# DB_PASSWORD=
22+
DB_CONNECTION=mysql
23+
DB_HOST=laravel_db
24+
DB_PORT=3306
25+
DB_DATABASE=laravel
26+
DB_USERNAME=root
27+
DB_PASSWORD=secret
2828

2929
SESSION_DRIVER=database
3030
SESSION_LIFETIME=120

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,15 @@ This repository provides an example of how to set up a Laravel application with
4747
```sh
4848
docker compose up
4949
```
50+
5. **Generate Laravel Application Key**
5051

51-
5. **Run Migrations**
52+
Generate Laravel Application Key
53+
54+
```sh
55+
docker compose exec app php artisan key:generate
56+
```
57+
58+
6. **Run Migrations**
5259

5360
Run the Laravel migrations to set up the database schema.
5461

0 commit comments

Comments
 (0)