Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 904703a3
authored
Apr 02, 2019
by
Jonathan Reinink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimize for SQLite by default
1 parent
710326e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
.env.example
readme.md
.env.example
View file @
904703a
...
...
@@ -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
...
...
readme.md
View file @
904703a
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment