diff --git a/.env.example b/.env.example index 31174b1..82e8841 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/.env.testing b/.env.testing new file mode 100644 index 0000000..c26e630 --- /dev/null +++ b/.env.testing @@ -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 diff --git a/README.md b/README.md index fdedc56..394ccd0 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/package-lock.json b/package-lock.json index 5fdab03..abf35b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "merging-branch", + "name": "vue-laravel-spa", "lockfileVersion": 3, "requires": true, "packages": { @@ -2636,4 +2636,4 @@ } } } -} \ No newline at end of file +}