https://github.com/beanwei/li-example
Li 框架演示代码 https://github.com/BeanWei/li
https://github.com/beanwei/li-example
Last synced: 4 months ago
JSON representation
Li 框架演示代码 https://github.com/BeanWei/li
- Host: GitHub
- URL: https://github.com/beanwei/li-example
- Owner: BeanWei
- License: mit
- Created: 2022-04-03T11:48:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T12:08:35.000Z (about 3 years ago)
- Last Synced: 2025-01-29T06:44:40.860Z (5 months ago)
- Language: Go
- Size: 516 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# li-example
Li 框架演示代码 https://github.com/BeanWei/li# 步骤
- 1: 修改 `config/config.yaml` 中的数据库配置
- 2: 执行 `make generate` 生成代码
- 3: 执行 `make migrate` 迁移数据库模型
- 4: 执行 `go run li.go user-create -u=你的邮箱 -p=你的密码 -a=true` 创建初始化账号
- 5: 执行 `make run` 启动应用
- 6: 浏览器打开 `localhost:8199` 开始体验