Deploying a website built with Polymer Starter Kit?
To create my college web page using polymer, I downloaded the polymer starter kit 1.0.2. I have customized these html files to my desired text and it works well when I do below.
gulp serve
hole good chrome through
http://localhost:3000/
The problem is that it doesn't appear when I drop files to the college server. The reason for creating the website so that it can be viewed under my name, eg www.college.edu/~rajesh. We have a public_html folder in which if we put html / css / js files and this will be publicly available from the above url.
when I copied the contents of the application folder along with the bower_component folder the site does not appear, whereas it works fine locally (using localhost). Only the header is loaded, but no html body is displayed.
I am completely unfamiliar with polymer. can it be done? if yes i am missing something.
source to share
Simple clarification not sure if you followed this command, as per the readme file, when you want to deploy your site you need to run
gulp
which will build and optimize the current project ready for deployment. This includes listing as well as vulcanization, image, script, styling, and HTML optimizations and minimizations.
All necessary files will then be located in the "dist" folder.
Build and vulcanize polymer starter kit github README.md
source to share