0.0.4 • Published 5 years ago
bpa-azure-test v0.0.4
bpa-azure
This project contains scripts for tasks in Azure.
Getting Started
To start using this project in your own:
- Use
npm install --save bpa-azure
to install this project. - Copy the
.env.sample
file to.env.dev
and.env.prod
. - Make sure your
.gitignore
contains.env.dev
and.env.prod
. There will be sensitive data present that should not be commited to a repository. - Fill out the variables in the
.env.dev
and.env.prod
to match your deploy environments. - Add scripts in the
package.json
for deploying in dev and prod, such as:
"scripts": {
"deploy": "bpa-azure deploy",
"deploy:prod": "bpa-azure deploy --prod"
}
- Running
npm run deploy
ornpm run deploy:prod
should now compress and deploy the file(s) targeted in.env.dev
or.env.prod
.
Commands
The following commands are available:
- deploy
- Compress and deploy a file or files in a folder to Azure Blob Storage