-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75287cd
commit 8589aa0
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
# LAN_File_Conveyor | ||
#### 这是一款局域网文件传输的系统,无需安装任何APP就可以传送文件到局域网的任何一台设备上,只需要双方都打开这个网页即可 | ||
### 部署方式 | ||
###### 将client文件夹放到/www目录下 | ||
###### 先安装Nginx,然后将file.conf文件拷贝到nginx的v_host中 | ||
###### 然后进入到server,并运行npm install,然后输入node index.js启动即可 | ||
###### 将client文件夹放到/www/LAN_File_Conveyor目录下 | ||
###### 先安装Nginx,然后将file.conf文件拷贝到nginx的v_host中,并根据实际情况修改 | ||
###### 将server文件夹放到/www/LAN_File_Conveyor目录中,然后进入到server,并运行 | ||
```` | ||
npm install | ||
```` | ||
###### 将transfer.service放到/usr/lib/systemd/system/目录中,并输入 | ||
```` | ||
systemctl daemon-reload | ||
systemctl start transfer | ||
systemctl enable transfer | ||
```` |