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?

miriwoお一人様Advent Calendar 2024

Day 12

laravel sail 便利そうなコマンド

Posted at

概要

下記で構築したsailを使ったlaravelのアプリケーションで使えるコマンドを羅列しておく

下記の内容を実施し、sailコマンドのエイリアスを登録した。

環境の停止

sail down

環境の起動(バックグラウンド実行)

sail up -d

artisanコマンドの実行

sail artisan 〇〇

composerコマンドの実行

sail composer install

Node npmコマンドの実行

sail node --version
sail npm run production

テストの実行

テストのDB設定はphpunit.xmlに記載する

sail test
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?