Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying website created using Polymer starter kit?

Tags:

polymer

For creating my college webpage using polymer, I have downloaded polymer starter kit 1.0.2. I have customized those html files to my desired text and it runs well when I do the below.

gulp serve

opening well is chrome through

http://localhost:3000/

The problem is, it doesn't show up when I drop files into my college server. The reason for creating a website so that it can be viewed under my name like www.college.edu/~rajesh. We have public_html folder wherein if we put html/css/js files and that is it will accessible public from above URL.

when I copied the contents of app folder along with bower_component folder the site doesn't come up whereas it work fine locally (using localhost). Only the title gets loaded however there is NO html body visible.

I am totally new to polymer. could this be done? if yes am I missing something.

like image 873
mrprajesh Avatar asked Jun 16 '26 14:06

mrprajesh


1 Answers

You have to run gulp serve:dist which will build/vulcanize your site. Then you need to copy app/dist folder

like image 100
sensor Avatar answered Jun 19 '26 18:06

sensor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!