launchpad-mc-dog
v0.0.11
Published
HP Seaweed fs command launcher
Downloads
69
Readme
Launchpad McDog
Launchpad?
Simple WeedFs process launcher
Installation
1. Install Redis
$ apt-get install redis-server
3. Clone repo
$ git clone https://stash.head-point.ru:443/scm/sbx/launchpad-mc-dog.git
4. Install dependencies
npm install
4. Build
npm run build
5. Launch Launchpad :-)
node .
API
1. To start WeedFs process make a request, please, and receive weed fs process identifier:
POST /start HTTP/1.1
Host: localhost:3001
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
command=weed -fs -command
2. To stop weed fs process just make another request:
POST /stop HTTP/1.1
Host: localhost:3001
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
processId=weedFsProcessId