#add git monitor
This commit is contained in:
25
.serena/memories/建议命令.md
Normal file
25
.serena/memories/建议命令.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 建议命令
|
||||
|
||||
## 安装依赖
|
||||
|
||||
- PHP 依赖:`composer install`
|
||||
- 前端依赖:`npm ci`
|
||||
|
||||
## 开发运行
|
||||
|
||||
- 一键开发(后端 serve + queue + pail + vite):`composer dev`
|
||||
- 单独启动后端:`php artisan serve`
|
||||
- 单独启动前端:`npm run dev`
|
||||
|
||||
## 测试
|
||||
|
||||
- 运行测试:`composer test`(内部会 `php artisan test`)
|
||||
|
||||
## 格式化
|
||||
|
||||
- PHP 格式化:`./vendor/bin/pint`
|
||||
|
||||
## 常用 Artisan
|
||||
|
||||
- 迁移:`php artisan migrate`
|
||||
- 清缓存:`php artisan optimize:clear`
|
||||
Reference in New Issue
Block a user