paastor
v0.4.8
Published
CLI and Library for managing your Paastor servers and deploy apps.
Downloads
31
Readme
Deploy to Paastor via command line interface (CLI)
npm install -g paastor
Then use the pstr
tool:
pstr [commands go here]
Use the client library programmatically
npm install paastor --save
var Paastor = require('paastor');
var paastor = new Paastor();
paastor.login({ email: 'asdf', password: 'asdfasdf' }, function (data, res, body) {
console.log('logged in');
paastor.listServers(function (err, servers) {
console.log('servers', servers);
});
paastor.getLogs({ vps: 'myserver', app: 'chatty' }, function (err, logs) {
console.log('logs', logs);
});
});