修改readme

This commit is contained in:
fansheng 2024-02-28 19:28:49 +08:00
parent dbf171e0f3
commit c9838e4bbb
2 changed files with 22 additions and 9 deletions

View File

@ -90,7 +90,7 @@
`if [ -f /usr/bin/curl ];then curl -sSO https://support.tenfell.cn/install.sh;else wget -O install.sh https://support.tenfell.cn/install.sh;fi;bash install.sh` `if [ -f /usr/bin/curl ];then curl -sSO https://support.tenfell.cn/install.sh;else wget -O install.sh https://support.tenfell.cn/install.sh;fi;bash install.sh`
win版安装教程<a href="https://tfyun.gitee.io/common/jump.html?url=https%3A%2F%2Fos.tenfell.cn%2Fdoc%2F%23%2Fdoc%2Fwin" target="_blank">点击查看</a> win版安装教程<a href="https://tfyun.gitee.io/common/jump.html?url=https%3A%2F%2Fos.tenfell.cn%2Fdoc%2F%23%2Fdoc%2Fwin" target="_blank">点击查看</a>
linux版部署教程<a href="https://tfyun.gitee.io/common/jump.html?url=https%3A%2F%2Fos.tenfell.cn%2Fdoc%2F%23%2Fdoc%2Flinux" target="_blank">点击查看</a> linux版部署教程<a href="https://tfyun.gitee.io/common/jump.html?url=https%3A%2F%2Fos.tenfell.cn%2Fdoc%2F%23%2Fdoc%2Flinux" target="_blank">点击查看</a>

View File

@ -1,15 +1,28 @@
编译说明 不编译安装
1.手动安装jdk
2.从右侧发行版本中下载到本地后解压
3.双击restart.bat或者cd xxx/xxx && sh restart.sh即可
编译安装
1.打包api中的java程序然后重命名为webos.jar 1.打包api中的java程序然后重命名为webos.jar
安装jdk和maven环境
cd到api目录
执行`mvn install`命令等待片刻即可在target目录中生成jar包
2.构建成如下结构的目录 2.构建成如下结构的目录
```
xxx/xxx xxx/xxx
├── web ├── web
│ └── index.html └── index.html
└── api └── api
└── restart.sh └── restart.sh
└── start.bat └── start.bat
└── restart.bat
└── webos.jar └── webos.jar
```
3.启动 3.启动
linux通过 cd xxx/xxx/api && sh restart.sh启动 linux通过 cd xxx/xxx/api && sh restart.sh启动
win通过 双击start.bat启动 win通过 双击start.bat启动
4.访问 4.访问
浏览器访问http://127.0.0.1:8088进行引导安装即可 浏览器访问 `http://127.0.0.1:8088` 或 `http://127.0.0.1:8088/init` 进行引导安装即可