CLI for Gridcontrol distributed computing project.
npm install grid-cliCLI for Gridcontrol distributed computing project.
``bash`
$ npm install grid-cli -g
Now the bin grid is available via the CLI.
1/ Generate a new Gridfile in the current path, that contains grid name, grid password, host and SSH keys.
`bash`
$ grid new
Change each attribute with the desired value.
2/ Provision every hosts listed in the Gridfile
`bash`
$ grid provision
This will copy the SSH pub key and install NVM, Node.js, PM2 and Gridcontrol
3/ Play
`bashList all nodes linked to the grid
$ grid ls
Generate sample project in current folder:
`bash
$ grid sample
``Apache V2