Getting the starter project
In this tutorial, you’ll build a small Polymer application – a very basic client for a social networking service. The end result will look like this:
This project will introduce you to most of the key concepts in working with Polymer. Don’t worry if you don’t understand everything. Each of the concepts presented here is described in detail in the Polymer documentation.
Before you start: getting the starter project
To get started, download the starter project. This starter project includes all of the Polymer libraries and dependencies you’ll need to get started.
Unzip the starter project somewhere on your local drive.
The starter includes an initial version of the project you’ll be working with. It also includes incremental versions of the project so you can check your work along the way.
While you’re working, you’ll need a basic HTTP server to serve your pages. If you have Python installed, you can run one of the following commands in the top level of the starter project.
Python 2.x:
python -m SimpleHTTPServer
Python 3.x:
python -m http.server
Test out the web server by loading the finished version of the project. For example:
URLs in this tutorial assume your local server is listening on port 8000. If you’re using a different port, substitute the port you’re using.
Note: On Windows, Python’s simple HTTP server may not provide the correct MIME type for SVG images. If the images don’t render, try a different web server.