Commit 904703a3 by Jonathan Reinink

Optimize for SQLite by default

1 parent 710326e4
Showing with 4 additions and 14 deletions
......@@ -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
......
......@@ -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:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!