Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 2.89 KB

File metadata and controls

91 lines (69 loc) · 2.89 KB
layout default
type start
navgroup docs
shortname Start
title Getting Started
subtitle Your first Polymer application
<style> #download-button { background: #4285f4; color: #fff; font-size: 18px; fill: #fff; } #download-button:hover { background: #2a56c6; } #download-button::shadow paper-ripple { color: #fff; } .unquote-link { max-width: 360px; } .unquote-image { background-image: url(/images/tutorial/finished.png); background-size: cover; background-position: top; width: 360px; height: 320px; border: 1px solid black; } </style>

In this tutorial, you'll build a small {{site.project_title}} application -- a very basic client for a social networking service. The end result will look like this:

Click screenshot for demo

This project will introduce you to most of the key concepts in working with {{site.project_title}}. Don't worry if you don't understand everything. Each of the concepts presented here is described in detail in the {{site.project_title}} documentation.

Before you start: getting the sample project

To get started, download the starter project. This starter project includes all of the {{site.project_title}} libraries and dependencies you'll need to get started.

Download Starter Project

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. {: .alert .alert-info }