Skip to content

Commit

Permalink
added testing env and updated getting started info
Browse files Browse the repository at this point in the history
  • Loading branch information
tobischulz committed May 31, 2024
1 parent b16766d commit 6e2a77a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://localhost
APP_URL=http://vue-laravel-spa.test

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
Expand Down
16 changes: 16 additions & 0 deletions .env.testing
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
APP_NAME="Vue Laravel SPA"
APP_ENV=local
APP_KEY=base64:LVFvXoJkxD20eZcneq/+ERpmLaRwRnfebih2PCxp5qo=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ Take this steps:

- git clone
- run `composer install`
- run `yarn`
- run `npm install`
- npm run dev
- copy .env.example to .env
- php artisan key:generate
- modify .env file
- create /database/database.sqlite file or use another database in .env
- migrate database `php artisan migrate`
- npm install
- npm run dev

Make sure to set those two variables to your current domain or localhost:

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e2a77a

Please sign in to comment.