8000 GitHub - lintry/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.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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.

License

Notifications You must be signed in to change notification settings

lintry/static-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Server

NPM

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 install kml-static-server -g

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

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0