1.1.1 • Published 6 years ago
kml-static-server v1.1.1
static server
Start static server with cli. It only provid a simple web server for browse a html page. A proxy server can be lauched up when a proxy json file is existed.
how to install
install via npm
npm instal kml-static-server
or install from source code
git clone https://github.com/lintry/static-server.git
cd static-server
npm link
how to start a server
kml-server-cli start
Usage: start|i [options] [path...]
start <path> <path> <path>
Options:
-P --port bind port
-S --silent do not auto open browser
-X --proxy [table] use proxy table file (default: proxy.json)
-h, --help output usage information
how to stop server
After start a new server, you can press CTRL-C
to stop it;
how to create a proxy.json
kml-server-cli init
Usage: init [options] [file]
create init proxy table json, default name is proxy.json
1.1.1
6 years ago