init
This commit is contained in:
25
server/release/README.txt
Normal file
25
server/release/README.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
JNote 后端服务部署说明
|
||||
=====================
|
||||
|
||||
目录结构:
|
||||
├── linux/ # Linux 服务器部署包
|
||||
│ ├── jnote-api # Linux 可执行二进制文件
|
||||
│ ├── start.sh # Linux 原生启动脚本
|
||||
│ └── .env # 环境配置
|
||||
│
|
||||
└── windows/ # Windows 服务器部署包
|
||||
├── jnote-api.exe # Windows 可执行程序
|
||||
├── start.bat # Windows 原生启动脚本
|
||||
└── .env # 环境配置
|
||||
|
||||
部署步骤:
|
||||
|
||||
【Linux 服务器】
|
||||
1. 上传 linux/ 目录到服务器
|
||||
2. 修改 .env 中的数据库配置
|
||||
3. 直接运行: ./start.sh
|
||||
|
||||
【Windows 服务器】
|
||||
1. 上传 windows/ 目录到服务器
|
||||
2. 修改 .env 中的数据库配置
|
||||
3. 双击运行 start.bat 即可
|
||||
Reference in New Issue
Block a user