mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-14 21:23:47 +08:00
ttr
This commit is contained in:
51
README.md
51
README.md
@@ -24,14 +24,59 @@
|
||||

|
||||

|
||||
|
||||
## 环境要求
|
||||
- node版本 >= v14.0.0
|
||||
- golang版本 >= v1.16,IDE推荐:Goland
|
||||
- IDE推荐:Goland
|
||||
- mysql版本 >=5.7
|
||||
- redis版本 >=5.0
|
||||
|
||||
## 感谢(以下排名不分先后)
|
||||
## 快速开始
|
||||
一、拉取代码到你已经安装好以上环境的服务器中
|
||||
```shell script
|
||||
git clone https://github.com/bufanyun/hotgo.git
|
||||
```
|
||||
|
||||
二、配置你的站点信息
|
||||
|
||||
服务端:
|
||||
- 创建mysql数据库,将数据库文件导入你的mysql,目录地址:/hotgo-server/storage/hotgo.sql
|
||||
- 将/hotgo-server/config/config.example.yaml 改为:config.example.yaml,并根据你实际环境情况进行配置
|
||||
|
||||
web+uinapp端:
|
||||
- 配置服务端地址,包含在一下文件中:
|
||||
* hotgo-uniapp/common/config.js
|
||||
* /hotgo-uniapp/manifest.json
|
||||
* hotgo-uniapp/common/config.js
|
||||
|
||||
三、 启动服务
|
||||
服务端:
|
||||
```shell script
|
||||
cd hotgo-server
|
||||
go mod tidy #更新包
|
||||
go run main.go #启动服务
|
||||
```
|
||||
|
||||
web端:
|
||||
```shell script
|
||||
cd hotgo-web
|
||||
npm install #安装依赖
|
||||
npm run dev #启动web项目
|
||||
```
|
||||
uinapp端:
|
||||
- 1、下载并安装:集成开发环境 HBuilderX (推荐,也可以使用 VSCode 或 WebStorm)
|
||||
- 2、菜单:文件 -> 导入 -> 从本地目录导入,选择 “jeesite4-uniapp” 文件夹。
|
||||
- 3、菜单:运行 -> 运行到内置浏览器(或运行到浏览器 -> Chrome 浏览器)。
|
||||
- 4、等待 HBuliderX 控制台编译完成后,会自动弹出手机登录页面。
|
||||
|
||||
|
||||
## 特别感谢(以下排名不分先后)
|
||||
|
||||
* goframe https://goframe.org
|
||||
* JeeSite Mobile Uni-App https://gitee.com/thinkgem/jeesite4-uniapp
|
||||
* aidex-sharp https://gitee.com/big-hedgehog/aidex-sharp
|
||||
|
||||
## 声明
|
||||
* 目前项目还在开发中,部分源码尚未更新完整,但不影响搭建演示和供学习参考,遇到问题请联系作者下方微信!
|
||||
## 开源声明
|
||||
* 目前项目还在持续更新中,仅供参考学习,如遇到问题请联系作者下方微信!
|
||||
|
||||

|
||||
Reference in New Issue
Block a user