mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-02-02 18:28:41 +08:00
ttr
This commit is contained in:
parent
8d2ab26737
commit
4cc6f9d4cf
51
README.md
51
README.md
@ -24,14 +24,59 @@
|
|||||||
![image](https://user-images.githubusercontent.com/26652343/155689481-2fc019eb-18e4-4a94-b417-50524e945089.png)
|
![image](https://user-images.githubusercontent.com/26652343/155689481-2fc019eb-18e4-4a94-b417-50524e945089.png)
|
||||||
![image](https://user-images.githubusercontent.com/26652343/155689738-ac97f9c0-47ae-499b-b3fe-0cb4ce97f3bc.png)
|
![image](https://user-images.githubusercontent.com/26652343/155689738-ac97f9c0-47ae-499b-b3fe-0cb4ce97f3bc.png)
|
||||||
|
|
||||||
|
## 环境要求
|
||||||
|
- 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
|
* goframe https://goframe.org
|
||||||
* JeeSite Mobile Uni-App https://gitee.com/thinkgem/jeesite4-uniapp
|
* JeeSite Mobile Uni-App https://gitee.com/thinkgem/jeesite4-uniapp
|
||||||
* aidex-sharp https://gitee.com/big-hedgehog/aidex-sharp
|
* aidex-sharp https://gitee.com/big-hedgehog/aidex-sharp
|
||||||
|
|
||||||
## 声明
|
## 开源声明
|
||||||
* 目前项目还在开发中,部分源码尚未更新完整,但不影响搭建演示和供学习参考,遇到问题请联系作者下方微信!
|
* 目前项目还在持续更新中,仅供参考学习,如遇到问题请联系作者下方微信!
|
||||||
|
|
||||||
![image](https://user-images.githubusercontent.com/26652343/155691271-1ded98d8-f0f1-4467-9079-26cec1195af5.png)
|
![image](https://user-images.githubusercontent.com/26652343/155691271-1ded98d8-f0f1-4467-9079-26cec1195af5.png)
|
@ -1,15 +0,0 @@
|
|||||||
::强制和远程同步,不保留本地修改
|
|
||||||
::git fetch --all
|
|
||||||
::git reset --hard origin/master
|
|
||||||
::git pull
|
|
||||||
|
|
||||||
|
|
||||||
::保存本地修改,拉取远程后恢复本地修改
|
|
||||||
::git stash
|
|
||||||
::git pull origin master
|
|
||||||
::git stash pop
|
|
||||||
::git stash list
|
|
||||||
::git stash clear
|
|
||||||
|
|
||||||
::拉取远程
|
|
||||||
git pull origin master
|
|
@ -1,11 +0,0 @@
|
|||||||
echo -e "\n \n" >> ./README.md
|
|
||||||
|
|
||||||
::git rm -r --cached -f .
|
|
||||||
git init && git add -A
|
|
||||||
|
|
||||||
for /f "tokens=2 delims==" %%a in ('wmic path win32_operatingsystem get LocalDateTime /value') do (set t=%%a)
|
|
||||||
set Today=%t:~0,4%-%t:~4,2%-%t:~6,2% %t:~8,2%:%t:~10,2%
|
|
||||||
|
|
||||||
git commit -m "%Today%"
|
|
||||||
|
|
||||||
git push git@gitee.com:bufanyun/hotgo-ui.git master
|
|
Loading…
Reference in New Issue
Block a user