0
1

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 ~Blog App~ 01(備忘録)

Posted at

渋谷で働くエンジニア福さんのYoutube動画,実践で学ぶプログラミング入門 の学習記録です。

初期設定編

* composerでLaravelをインストール(MAMP使用) * phpMyAdminから 新規テーブルを作成 = blog_app * VScodeで作成したプロジェクトを開き、.envの中の設定をいくつか変更 (MAMPトップページより確認) * APP_Name (任意の名前) * DB_PORT / DB_PASSWORD / DB_SOCKET     * MySQLのバージョンによって文字化けを防ぐための設定をapp/Providers/AppServicePreviders で行う * `use Illuminate\Support\Facades\Schema;` * ``` public function boot() { // Schema::defaultStringLength(191); }``` * App/config/app.phpで 以下を設定 * `'timezone' => 'Asia/Tokyo',` * ` 'locale' => 'ja', `
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?