使用node开发一个自己的node小工具,用于搭建静态服务
You need node.js and npm, You should probable install this globally.
npm install cyzserver -g
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
- -p port 端口号 example: -p 4000 (default port: 1234)
- -d dirctory 启动文件目录 example: -d c/ : c盘