0.3.8 • Published 8 years ago

mcap-deploy v0.3.8

Weekly downloads
19
License
MIT
Repository
github
Last release
8 years ago

mcap-deploy

NPM version Build Status Dependency Status Coverage Status

node.js implementation to deploy an app against the studio API.

Install

$ npm install --save mcap-deploy

Usage

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_modules
0.3.8

8 years ago

0.3.7

9 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago