NFile 基于 Node.js 的简易文件系统 项目简介
Nfile 是一个基于 Node.js 的简易文件系统,支持文档的上传、编辑和预览,可以对文档进行集中管理,对于小型预览平台特别有效。# prepare directory(it makes deploy more easier.)
mkdir -p /shushanfx/node/data
cd /shushanfx/node
# check out from github
git clone "https://github.com/shushanfx/nfile.git"
# install dependencies and start it.
cd nfile
npm install && npm start配置可按需调整配置。 配置在 server.json 中。{
"port": 18081,
"name": "File System",
"cnName": "文件管理系统",
"company": "shushanfx.com",
"description": "文件管理系统",
"base": "/", // you can set to /nfile
"workspace": {
"path": "/shushanfx/node/data", // file path.
"workspace": "/shushanfx/node/nfile"
}
}预览
mkdir -p /shushanfx/node/data
cd /shushanfx/node
# check out from github
git clone "https://github.com/shushanfx/nfile.git"
# install dependencies and start it.
cd nfile
npm install && npm start配置可按需调整配置。 配置在 server.json 中。{
"port": 18081,
"name": "File System",
"cnName": "文件管理系统",
"company": "shushanfx.com",
"description": "文件管理系统",
"base": "/", // you can set to /nfile
"workspace": {
"path": "/shushanfx/node/data", // file path.
"workspace": "/shushanfx/node/nfile"
}
}预览