Google App Engine & Polymer | configuration

I am developing a web application in Google App Engine using Python, I understand how to use mostly app.yaml application and manage different files; now I want to update my application and use Polymer . The root folder has the following configuration:

  • / MyApp
    • /assets
      • / CSS
      • / IMG
      • / Js
    • / bower_components
    Templates
  • app.yaml
  • bower.json
  • index.yaml
  • main.py

I have a problem with bower_components, inside this folder Bower puts all the polymer elements I need into different folders and files inside them, for example:

  • / bower_components
    • / core-menu
      • /core-menu.html
    • / core-scaffold
      • /core-scaffold.html

How do I configure my yaml application? I tried to tell mylocalhost and appengine differently about this folder, but every time I try to start my project, I don't see any changes regarding the simple html file. Sometimes, using FireBug, I see that the js framework is taken from GAE, but I don't know how to properly wire these elements to work.

+3


source to share


1 answer


There is nothing here to customize. These are all static files, exactly the same as the files you have / assets: so you have to point to them the same way you would on the resource path.



+4


source







All Articles