https://github.com/xswangcode/onesite
一个平平无奇的网站罢了。基于 https://gitee.com/tanzo/vue-manage-system 的二开网站
https://github.com/xswangcode/onesite
Last synced: 5 months ago
JSON representation
一个平平无奇的网站罢了。基于 https://gitee.com/tanzo/vue-manage-system 的二开网站
- Host: GitHub
- URL: https://github.com/xswangcode/onesite
- Owner: xswangcode
- License: gpl-2.0
- Created: 2024-02-05T09:14:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T04:10:34.000Z (over 1 year ago)
- Last Synced: 2025-05-18T18:47:39.177Z (about 1 year ago)
- Language: Vue
- Homepage:
- Size: 9.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 启动步骤
```
切换到工作目录
git clone https://github.com/DogsChen/onesite.git
安装环境
deploy install
项目配置修改
> PM2_CONFIG.apps[0].env.PORT = 80 修改port后面的端口为你自己的后端端口
启动
deploy start
查看
浏览器打开http://127.0.0.1:5123/index.html浏览
> http://127.0.0.1:5123/video/index/1 -> 测试接口
```
### 直接从github更新项目
```
git pull
deploy reload
```
### 开发环境
```
终端1 > npm run dev
终端2 > node ./server/app.js
```