Polymer CodeLab for the GDG Devfest Hamburg 2015
-
Install Git
-
git --version
- =>
2.xx.x
- WINDOWS - make sure to install git correctly for Bower
-
-
Install Node.js
- make sure you can run the command
npm --version
- =>
2.xx.x
- make sure you can run the command
-
Install development dependencies
-
npm install
-
-
Install Bower
$ npm install -g bower
-
Install Grunt
$ npm install -g grunt-cli
-
Clone this project
git clone https://github.com/sandro-k/devfest.git
-
Install Polymer
$ bower install --save polymer
-
Open with any IDE/ text editor (Chrome Dev Editor WebStorm, Atom, Sublime Text, ...)
- If you use the Chrome Dev Editor please check out the Polymer Codelabs how to use it and get stated with
bower
- If you use the Chrome Dev Editor please check out the Polymer Codelabs how to use it and get stated with
-
Start a local Webserver
grunt connect
grunt serve
- has live reload supportpython -m SimpleHTTPServer 8080
- Copy
template.html
toindex.html
- load WebComponents.lite.js for IE try WebComponents.js
- import and instantiate a Custom-Elements e.g.
<paper-button>
- Pick any element from the Polymer Catalog and play around with them.
- Chose any of the Polymer Codelabs and start coding
- Any questions pleas ask!