podcast

所属分类:云计算
开发工具:HTML
文件大小:426392KB
下载次数:0
上传日期:2023-02-28 00:44:11
上 传 者sh-1993
说明:  谷歌云平台播客
(The Google Cloud Platform Podcast)

文件列表:
CONTRIBUTING.md (1336, 2023-02-10)
LICENSE (11357, 2023-02-10)
Makefile (804, 2023-02-10)
dev (0, 2023-02-10)
dev\Dockerfile (1927, 2023-02-10)
dev\album.png (11492, 2023-02-10)
dev\startup.sh (958, 2023-02-10)
dev\tag.sh (769, 2023-02-10)
dev\zshrc (2236, 2023-02-10)
ga_handler (0, 2023-02-10)
ga_handler\app.yaml (136, 2023-02-10)
ga_handler\main.py (2392, 2023-02-10)
ga_handler\main_test.py (1487, 2023-02-10)
ga_handler\noxfile.py (292, 2023-02-10)
ga_handler\requirements.txt (12, 2023-02-10)
screenshot.png (478150, 2023-02-10)
site (0, 2023-02-10)
site\Makefile (459, 2023-02-10)
site\app.yaml (1068, 2023-02-10)
site\archetypes (0, 2023-02-10)
site\archetypes\default.md (454, 2023-02-10)
site\config.toml (1383, 2023-02-10)
site\content (0, 2023-02-10)
site\content\_index.md (456, 2023-02-10)
site\content\about.md (6491, 2023-02-10)
site\content\archive.md (163, 2023-02-10)
site\content\license.md (414, 2023-02-10)
site\content\post (0, 2023-02-10)
site\content\post\EP 102.jpg (1666723, 2023-02-10)
site\content\post\_index.md (146, 2023-02-10)
site\content\post\episode-1-we-got-a-podcast (0, 2023-02-10)
site\content\post\episode-1-we-got-a-podcast\images (0, 2023-02-10)
site\content\post\episode-1-we-got-a-podcast\images\hero (0, 2023-02-10)
site\content\post\episode-1-we-got-a-podcast\images\hero\hero-01.jpg (457923, 2023-02-10)
site\content\post\episode-1-we-got-a-podcast\index.md (25562, 2023-02-10)
site\content\post\episode-10-graham-polley-and-pablo-caif-from-shine-technologies (0, 2023-02-10)
site\content\post\episode-10-graham-polley-and-pablo-caif-from-shine-technologies\images (0, 2023-02-10)
... ...

# GCP Podcast Website This repo contains all the code and contents behind [gcppodcast.com](https://www.gcppodcast.com). The first episode explains the architecture, you can listen to it [here](https://gcppodcast.com/post/episode-1-we-got-a-podcast/). ![gcppodcast.com screenshot](screenshot.png) # Contents of the repository You will find three directories in the repository: `dev`, `ga_handler`, and `site`. - dev: dev tools - ga_handler: an App Engine module written in Python used to send events to Google Analytics - site: the [hugo](https://gohugo.io) structure that generates the static website ## dev: website development This directory contains all the tooling we use to build/deploy the podcast. In particular it has a `Dockerfile` that defines an environment with all the tools we use to generate the website and tag `mp3` files. You can build this image using the `Makefile` on the root of this repository. You will be able to push it or pull it from [Google Container Registry](https://cloud.google.com/container-registry/) too, but you might need to modify the `TAG` variable to match a project you have access to. Finally, once you've built the image, you should be able to create a new interactive shell by running `make shell` or `make attach` if you want to attach to an existing one. ### site: the [hugo](https://gohugo.io) structure that generates the static website This directory contains all the resources that we use to generate the podcast website. You can use the `Makefile` provided in the directory to: - Run Interactive Hugo Server (port 1313): `make server` - Sassify->CCS Assets: `make assets-update` - does production css generation, compressed and everything. - Deploy the Project to App Engine: - `make deploy` - This will not make the version default. Useful if you just want to test/share a version live. - `make deploy-default` - This will replace the default version (but the old version is kept, in case) ### ga_handler: adding Google Analytics to Google Cloud Storage This directory contains an [App Engine](https://cloud.google.com/appengine) service that provides a way to access the `mp3` files stored in [Google Cloud Storage](https://cloud.google.com/storage) while logging those accesses with [Google Analytics](https://analytics.google.com). The following commands can be run from inside the `ga_handler` directory: - Run full code lint and tests: `nox` - Start Local Episode Redirect Module: `python main.py` - Deploy Episode Redirect Module: `gcloud app deploy` Environment variables must be set for STORAGE_BUCKET and GA_TRACKING_ID. ### Disclaimer This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

近期下载者

相关文件


收藏者