/
BMP: Deploy

BMP: Deploy

To upload your files to the BMP mBaaS service, you can use the Deploy command.

 

Deploy:

Before deploying, it's recommended you double check you're using the correct scope.

Once you've confirmed your scope is correct, to upload your code, you can use the command:

bm bmp deploy

Your local files will be uploaded to the BMP platform.

 

Additional Options

--prune

The "prune" option will remove any interactions in your answerSpace that don't exist on your local machine.

bm bmp deploy --prune

 

--only

The "only" option will only push files specified by a particular GLOB
bm bmp deploy --only
Examples:
Deploy only the top-level
bm bmp deploy --only answerSpace.*
 Deploy only interactions related to HTML files
bm bmp deploy --only interactions/**/*.html

Deploy only the "name" interaction

bm bmp deploy --only interactions/name/**/*

 

Next Steps