1.0.6 • Published 3 years ago
cyzserver v1.0.6
cyzserver
基于Node的一个静态服务器,接受请求并相应特定目录中的html、css、js、图片等资源。
Installation
You need node.js and npm, You should probable install this globally.
Npm way
npm install cyzserver -g
Manual way
git clone https://github.com/bootstet/cyzserver.git
# cd [your directory]
npm install # Local dependencies if you want to hack
npm install -g # Install globally
command line
- -p port 端口号 example: -p 4000 (default port: 1234)
- -d dirctory 启动文件目录 example: -d c/ : c盘