Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyebluecn/sc-subscription
智慧课堂(golang) 订阅项目
https://github.com/eyebluecn/sc-subscription
Last synced: 14 days ago
JSON representation
智慧课堂(golang) 订阅项目
- Host: GitHub
- URL: https://github.com/eyebluecn/sc-subscription
- Owner: eyebluecn
- Created: 2024-06-03T15:55:40.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-05T18:46:54.000Z (7 months ago)
- Last Synced: 2024-11-07T10:29:17.972Z (2 months ago)
- Language: Go
- Size: 101 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 安装依赖
```shell
go get github.com/eyebluecn/sc-misc-idl@master
go get github.com/eyebluecn/sc-subscription-idl@master```
## 首次启动
### 导入数据库
首次启动需要先导入数据库。参考[misc项目的README](https://github.com/eyebluecn/sc-misc)### 指定启动参数
数据库连接信息在`src/common/config/mysql_config.go#getDefaultMysqlUrl()`中修改即可。如果你希望从启动参数中配置数据库信息,可参考下面的配置:
```shell
smart.classroom.subscription "your_username:your_password@tcp(your_host:3306)/your_schema?charset=utf8mb4&parseTime=True&loc=Local"
```## 日常启动
执行`main.go`中的main函数即可启动。