0.3.8 • Published 10 years ago
mcap-deploy v0.3.8
mcap-deploy
node.js implementation to deploy an app against the studio API.
Install
$ npm install --save mcap-deployUsage
var options = {
baseurl: '<URL>',
username: '<USERNAME>',
password: '<PASSWORD>',
fields: {
name: 'TestApp1',
uuid: '5fc00ddc-292a-4084-8679-fa8a7fadf1db'
},
rootPath: path.resolve(__dirname, '../example/apps/MyTestApp'),
progress: function(percent, chunkSize, totalSize){
console.log(percent, chunkSize, totalSize);
}
};
mcapDeploy.deploy(options/*, request*/).then(function(){
console.log('succ uploaded');
console.log(arguments);
}, function(){
console.log('something bad happend');
console.log(arguments);
});Ignore files
To ignore files just create a .mcapignore file inside the root of the deploy folder, like how git ignores files based on a .gitignore file.
Example:
log.txt
server/node_modules0.3.8
10 years ago
0.3.7
10 years ago
0.3.5
11 years ago
0.3.4
11 years ago
0.3.3
11 years ago
0.3.2
11 years ago
0.3.1
11 years ago
0.3.0
11 years ago
0.2.0
11 years ago
0.1.0
11 years ago
0.0.7
11 years ago
0.0.6
11 years ago
0.0.5
11 years ago
0.0.4
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago
0.0.0
11 years ago
