Add PHP 8.2 installation and glass-v2 migration progress
This commit is contained in:
parent
39db4fbf33
commit
0777d5f341
@ -18,11 +18,35 @@
|
|||||||
2. #2 填充 USER.md 用户档案
|
2. #2 填充 USER.md 用户档案
|
||||||
3. #3 添加 .gitignore 文件
|
3. #3 添加 .gitignore 文件
|
||||||
|
|
||||||
|
## glass 项目分析
|
||||||
|
|
||||||
|
- 拉取了 ai/glass 项目的最新代码
|
||||||
|
- 克隆了 ai/glass-v2 项目(包含额外功能)
|
||||||
|
- 分析了 v2 需要迁移的 5 个功能模块:
|
||||||
|
1. 产品分类管理(ProductCategory + 图标和颜色支持)
|
||||||
|
2. 品牌管理(Brand - 已有基础版,需增强)
|
||||||
|
3. 采购订单管理(PurchaseOrder + PurchaseOrderItem)
|
||||||
|
4. 库存流水管理(InventoryTransaction)
|
||||||
|
5. 员工排班管理(StaffSchedule + 日历 Widget)
|
||||||
|
- 创建了迁移分析文档:`projects/glass-v2-migration-analysis.md`
|
||||||
|
- 创建了 5 个数据库迁移文件(已添加 team_id 支持多租户)
|
||||||
|
|
||||||
|
## PHP 8.2 安装
|
||||||
|
|
||||||
|
- 添加了 ondrej/php PPA
|
||||||
|
- 安装了 PHP 8.2.30 (CLI + FPM)
|
||||||
|
- 安装的扩展:
|
||||||
|
- bcmath, curl, gd, intl
|
||||||
|
- mbstring, mysql, xml, zip
|
||||||
|
- opcache, readline
|
||||||
|
- Laravel 项目现在可以使用 `php artisan` 命令
|
||||||
|
|
||||||
## 学习
|
## 学习
|
||||||
|
|
||||||
- Gitea API 需要 ~/.netrc 文件或 API token 认证(Git 凭证存储不适用于 API)
|
- Gitea API 需要 ~/.netrc 文件或 API token 认证(Git 凭证存储不适用于 API)
|
||||||
- Gitea 禁止通过 git push 自动创建仓库
|
- Gitea 禁止通过 git push 自动创建仓库
|
||||||
- curl -n 选项可以自动读取 .netrc 文件
|
- curl -n 选项可以自动读取 .netrc 文件
|
||||||
|
- Ubuntu 安装多版本 PHP 需要使用 ondrej/php PPA
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user