mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
2eca4b2ef5
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
560 B
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.