web-commander v0.5.0
web-commander
This is a lite server to execute commands according to web requests.
Installation
$ npm i web-commander -gUsage
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-commanderOpen 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_DIRcan either be a path relative to current working directory or an absolute path.
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago