codefoster / candyman Goto Github PK
View Code? Open in Web Editor NEWDeploy to Linux devices
License: Apache License 2.0
Deploy to Linux devices
License: Apache License 2.0
I used the configuration as you explained it on your pluralsight course (great course btw). Perhaps these settings has changed, but this is how I set it up:
var gulp = require('gulp');
var Candyman = require('candyman');
var candyman = new Candyman({
targetDevices: [{
devicename: 'rpi22', hostname: 'rpi22'
}],
projectName: 'microServiceBus',
user: 'root',
password: 'pi',
startFile:'microServiceBusHost.js'
});
gulp.task('default', function () {
console.log('Running default gulp');
});
gulp.task('deploy', function () {
console.log('Running deploy gulp');
return candyman.deploy();
});
Starting deploy task
'scp' is not recognized as an internal or external command,
operable program or batch file.
Error in deploy task on rpi22: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "scp app.js package.json root@rpi22:/home/root/microServiceBus"
'scp' is not recognized as an internal or external command, operable program or batch file.
Hi! I've followed the pluralsight course (excellent BTW!) and tried to deploy from VS2015 with the gulpfile however on deploy i get :
Error in deploy task on edison.local: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "scp app.js package.json [email protected]:/home/root/blink-cylon"
Warning: Permanently added the ECDSA host key for IP address '192.168.1.100' to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection
however if I manually type (or cut/paste) the scp cmd at the command line its works. It does ask for the password, and I enter the same password in the candyman config and it works just fine, the files are deployed and run just fine.
any ideas?
Thanks!
Rob
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.