0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Laravel 8 のプロジェクトを適当に作る

Posted at

背景

Tipsの記事を書くのにいちいち前提条件を書かなくていいようにまとめる。

プロジェクトの作成

laravel new example-app
cd example-app

データベースの設定

楽したいので SQLite を使う。

touch database/database.sqlite

.env を書き換えて、DB 周りの環境設定を SQLite に合わせる。

- DB_CONNECTION=mysql
- DB_HOST=127.0.0.1
- DB_PORT=3306
- DB_DATABASE=example_app
- DB_USERNAME=root
- DB_PASSWORD=
+ DB_CONNECTION=sqlite
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?