0.5.0 • Published 7 years ago

web-commander v0.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

0.5.0-3

7 years ago

0.5.0-2

8 years ago

0.5.0-1

8 years ago

0.5.0-0

8 years ago

0.4.0

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago