From 904703a37ec823c20709480f5d019b7c64b5fd83 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Tue, 2 Apr 2019 13:05:26 -0400 Subject: [PATCH] Optimize for SQLite by default --- .env.example | 7 +------ readme.md | 11 +++-------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.env.example b/.env.example index d058c34..d7f8f2f 100644 --- a/.env.example +++ b/.env.example @@ -6,12 +6,7 @@ APP_URL=http://localhost LOG_CHANNEL=stack -DB_CONNECTION=mysql -DB_HOST=127.0.0.1 -DB_PORT=3306 -DB_DATABASE=homestead -DB_USERNAME=homestead -DB_PASSWORD=secret +DB_CONNECTION=sqlite BROADCAST_DRIVER=log CACHE_DRIVER=file diff --git a/readme.md b/readme.md index f24f5ce..c4337d3 100644 --- a/readme.md +++ b/readme.md @@ -41,15 +41,10 @@ Generate application key: php artisan key:generate ``` -Setup local database by editing `.env`. Use whatever database (MySQL, Postgres, SQLite) you'd like here. +Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly. -``` -DB_CONNECTION= -DB_HOST= -DB_PORT= -DB_DATABASE= -DB_USERNAME= -DB_PASSWORD= +```sh +touch database/database.sqlite ``` Run database migrations: