- 安装mumu安卓模拟器,https://mumu.163.com/index.html
- 下载抖声apk,https://bytedance.feishu.cn/docs/doccnM9KkBAdyDhg8qaeGlIz7S7
- 进入抖声APP,双击右下角“我”配置服务器地址:http://本地IP:8080
- 按照该教程安装mysql数据库,并创建douyin数据库
- 将respository/db_init.go中的"root:123@tcp"中的root和111111分别替换成你的mysql账户和密码
- 注释db_init.go中的UsersLoginInfo = CreatUserinfo()
- 运行命令 go test -v db_test.go db_init.go common.go user.go,否则会报undefined的错,错误原因参考:https://blog.csdn.net/love666666shen/article/details/119929929
- 取消5中的注释
- 将controller/publish.go中的ip地址替换成自己本地的
- 需要下载ffmpeg,https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip;之后解压,将bin目录配置到系统环境变量Path中
- 进入项目根目录,运行go build && ./simple-demo(如果go build需要下载但是速度慢,可以运行“go env -w GOPROXY=https://goproxy.cn,direct”)
forked from muguagai/simple-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
pbhfcycssjlmm/simple-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
王宁实现版本
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%