This repository contains a short tutorial for Polymer 1.x.
The following chapter describes the installation process of NPM and bower. This steps needs to be done only once.
Download and install nodejs from nodejs.org
npm config set proxy http://user:password@proxy.company.com:8080
npm config set https-proxy http://user:password@proxy.company.com:8080
npm install -g bower
npm install -g polymer-cli
[Environment]::SetEnvironmentVariable("http_proxy", "http://user:password@proxy.company.com:8080", "User")
[Environment]::SetEnvironmentVariable("https_proxy", "http://user:password@proxy.company.com:8080", "User")
The following chapter describes the steps required to install every project specific dependencies.
cd polymer-tutorial
bower install
This command will create a bower_components folder with necessary dependencies.
cd polymer-tutorial
polymer serve
The result output will be something like:
λ polymer serve
info: Files in this directory are available under the following URLs
applications: http://127.0.0.1:8081
reusable components: http://127.0.0.1:8081/components/my-polymer-tutorial/
chrome http://127.0.0.1:8081
Check your proxy settings, check whether you provided user name and password as well.