web-commander v0.5.0
web-commander
This is a lite server to execute commands according to web requests.
Installation
$ npm i web-commander -g
Usage
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
Open dashboard by the address specified above, then add projects and commands.
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.
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago