Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Polymer – Tips on running “Getting Started Tutorial” on Windows

Yes. As the title say, this post is about tips on how you can run Polymer sample on Windows.

 

IIS instead of python server

In Google’s Polymer document, it suggests you to run the following Python command to start the web server.

python -m SimpleHTTPServer

python -m http.server

But most of windows developers doesn’t have the python installed on our windows machine. What else do we have? Yes. Most of us have the IIS so you can simply create a website and point to “polymer-tutorial-master” folder in IIS. That is.

.json extension in IIS

So, I added the .Json extension in MIME and then it works. If you want to see the step by step how to add new MIME in IIS then you can refer to this post “add .json handler support in IIS 7“. But for me, I didn’t add the handler for .json.

After adding the .json MIME in IIS then go and refresh the page. You will see the list as below.

Polymer is a very interesting project that based on web components. But yes, it reminds me of my Silverlight/WPF days where I used to deal with template/data templates. I am still studying more about this project and hopefully, I can share my experience with Polymer with you all later.

 



This post first appeared on Michael Sync | Sharing Knowledge, please read the originial post: here

Share the post

Polymer – Tips on running “Getting Started Tutorial” on Windows

×

Subscribe to Michael Sync | Sharing Knowledge

Get updates delivered right to your inbox!

Thank you for your subscription

×