Github hook for node.js apps hosted in Microsoft Azure.
The goal of this project is to provide a source-control guided deployment procedure for Azure apps. After initial deployment using the Azure tools, subsequent deployments should be cross-platform.
A rather terribly cropped first screencast, of GitAzure used to publish updates from OS X to Azure, can be found at http://screencast.com/t/Dj4ilALj.
This documentation is currently aimed at those with some prior Azure knowledge. That will change.
Step by step creating an application:
npm install -g GitAzure
gitazure.cmd; follow the instructions.
$env:USERPROFILE\\.ssh. Note: The private key cannot be passphrase protected.
git push -u origin master
Publish-AzureService; this will take roughly 10 minutes.
At this point you should be able to make changes to the code in the repository, and publish updates to your Azure application by pushing to Github. That includes writing code on other platforms than Windows.
GitAzure also supports installing npm modules, and will execute
npm install on the server whenever changes to package.json are detected.
Some settings are available within your web role's gitazure.json config file, which among other things allows you to restrict application updates to a specific branch (e.g. 'azure').
More to come.
Before pushing to a public repository, please make sure that no sensitive data is included. Such data includes Web.cloud.config files with e.g. storage keys. The default Web.cloud.config does not contain storage keys or anything else sensitive, so the procedure above is safe. Should you customize your setup in any way, please make sure to either make your repository private, or add the config files to your