azw
v0.0.3
Published
One command Azure deploy
Downloads
1
Readme
azw
This is a proof of concept and only covers the happy path. This wraps the az webapp up
command. This has no useful error handling.
Up and Running.
- Install az
- Install the webapp extension
- Log in to az by running
az login
- Install azw by running
npm install --global azw
Use
azw
Node project
This is the only command that works. No flags. No other commands. If azw detects a package.json, it will attempt to deploy your project and run whatever npm start
says to do. See here how to set that up. Make sure you run npm install
locally since it won't run that in the cloud. If you do not have process.json which is needed for pm2 then it will generate one for you.
Static project
If you do not have a package.json, it assumes you want to do a static site deploy. This will create a package.json for you, auto-generate a project name, npm install, generate a process.json and then deploy it. It uses the serve to do so which supports deep linking.
⚠️ Warning ⚠️
This is a proof concept. It will likely not be maintained. Since its proxying the output from the Python scripts, sometimes the spinner can freak out.