Files
shaka-player/app-engine/demo-version-index/README.md
T
Joey Parrish 2eca4b2ef5 ci: Generate static content for demo index at deploy time (#4119)
Rather than runtime-querying of appengine versions within the
appengine environment, we can instead generate the index at deployment
time (from git tags) and just serve static content.  This simplifies
the system and avoids dependence on Google Cloud.

This was less feasible before we adopted GitHub Actions, but is now
relatively simple.  The index will be regenerated when the index code
is updated or when a new release is created.

Closes #4074
2022-04-12 10:10:41 -07:00

560 B

Google App Engine Version Index

This folder contains everything necessary to host an index of Shaka Player releases and demos at https://index-dot-shaka-player-demo.appspot.com/

  • app.yaml: App Engine config file. Defines the runtime (Python 3).

  • generate.py: A python script that generates the index's static content from a template.

  • requirements.txt: Used by App Engine to install the necessary Python server requirements (Flask).

  • templates/index.html: A Jinja2 template used to generate the index HTML.