Skip to content

Commit 4b98cd4

Browse files
committed
fix: Add jwt generate after install
1 parent 13357f8 commit 4b98cd4

2 files changed

Lines changed: 6 additions & 16 deletions

File tree

.env.example

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ CACHE_STORE=database
4242

4343
MEMCACHED_HOST=127.0.0.1
4444

45-
REDIS_CLIENT=phpredis
46-
REDIS_HOST=127.0.0.1
47-
REDIS_PASSWORD=null
48-
REDIS_PORT=6379
49-
5045
MAIL_MAILER=log
5146
MAIL_SCHEME=null
5247
MAIL_HOST=127.0.0.1
@@ -56,10 +51,4 @@ MAIL_PASSWORD=null
5651
MAIL_FROM_ADDRESS="hello@example.com"
5752
MAIL_FROM_NAME="${APP_NAME}"
5853

59-
AWS_ACCESS_KEY_ID=
60-
AWS_SECRET_ACCESS_KEY=
61-
AWS_DEFAULT_REGION=us-east-1
62-
AWS_BUCKET=
63-
AWS_USE_PATH_STYLE_ENDPOINT=false
64-
65-
VITE_APP_NAME="${APP_NAME}"
54+
JWT_SECRET=

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242
"composer install",
4343
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
4444
"@php artisan key:generate",
45-
"@php artisan migrate --force",
46-
"npm install",
47-
"npm run build"
45+
"@php artisan jwt:secret",
46+
"@php artisan migrate --force"
4847
],
4948
"dev": [
5049
"Composer\\Config::disableProcessTimeout",
@@ -62,7 +61,9 @@
6261
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
6362
],
6463
"post-root-package-install": [
65-
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
64+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
65+
"@php artisan key:generate",
66+
"@php artisan jwt:secret"
6667
],
6768
"post-create-project-cmd": [
6869
"@php artisan key:generate --ansi",

0 commit comments

Comments
 (0)