0.5.0 • Published 9 years ago

web-commander v0.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

web-commander

NPM License Downloads

This is a lite server to execute commands according to web requests.

Installation

$ npm i web-commander -g

Usage

  1. Start web-commander at 0.0.0.0:2333:

    # Default address is `0.0.0.0:2333`
    $ web-commander
    
    # Host and port may be overridden by environment variables
    $ HOST=localhost PORT=8888 web-commander
  2. Open dashboard by the address specified above, then add projects and commands.

  3. Make a request to web-commander:

    POST http://server.address/cmd/command_name/command_type

Config

Default configurations can be overridden by environment variables.

  • HOST

    The server host, default as ''.

  • PORT

    The server port, default as 2333.

  • DATA_DIR

    The directory to store data, also as current working directory to start each task. Default as data.

    DATA_DIR can either be a path relative to current working directory or an absolute path.

0.5.0

9 years ago

0.5.0-3

9 years ago

0.5.0-2

9 years ago

0.5.0-1

9 years ago

0.5.0-0

9 years ago

0.4.0

9 years ago

0.3.7

9 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago