Install polymer-cli: (Need at least npm v0.3.0)
npm install -g polymer-cli
# Using CLI
mkdir shop
cd shop
polymer init shop
# Or cloning direct from GitHub
git clone https://github.com/Polymer/shop.git
cd shop
bower install
This was done using Azure xplat cli
azure site deploymentscript --aspNetCore ./project.json
polymer serve
polymer test
polymer build
This command serves the minified version of the app in an unbundled state, as it would be served by a push-compatible server:
polymer serve build/unbundled
This command serves the minified version of the app generated using fragment bundling:
polymer serve build/bundled
Create a web app in an App Service Environment
WEBSITE_NODE_DEFAULT_VERSION = 6.7.0
WEBSITE_PRIVATE_EXTENSIONS = 1
Now you can deploy your application using Azure deployment integration with Git local or Github repository:
Automating code deployment with GitHub and Azure
@peterblazejewicz