Find a file
Simon Bruder 161176d2ff
Ensure deployment is always in a usable state
Prior to this change, index.html was deployed before all episode media
files which could lead to the episode already being shown as available
while the media is still being uploaded.
2022-01-22 22:10:54 +01:00
content Add first episode 2022-01-18 18:55:46 +01:00
sass Show overlay on staging 2022-01-22 15:21:30 +01:00
static Show overlay on staging 2022-01-22 15:21:30 +01:00
templates Show overlay on staging 2022-01-22 15:21:30 +01:00
.envrc Migrate to flake 2021-11-30 19:55:19 +01:00
.gitattributes Use flac instead of opus as source file format 2022-01-13 16:29:57 +01:00
.gitignore Build with nix 2021-11-30 21:32:18 +01:00
build.sh Add option to build for staging 2021-12-11 17:44:04 +01:00
common.py Increase mp3 bitrate 2022-01-17 16:34:32 +01:00
config.toml Fix even more typos 2022-01-17 13:53:18 +01:00
deploy.sh Ensure deployment is always in a usable state 2022-01-22 22:10:54 +01:00
encode.py Use flac instead of opus as source file format 2022-01-13 16:29:57 +01:00
flake.lock Update to NixOS 21.11 2021-12-11 16:55:18 +01:00
flake.nix Add option to build for staging 2021-12-11 17:44:04 +01:00
LICENSE License the project under the MIT license 2021-12-08 12:00:06 +01:00
metadata.py Use flac instead of opus as source file format 2022-01-13 16:29:57 +01:00
README.md Add actually useful content to the readme 2022-01-17 14:43:14 +01:00

Website for Schulischer Schabernack

The website of the podcast for P-Seminar Deutsch „Einen Podcast erstellen“.

Building

Building the site includes encoding all episodes from FLAC to the target formats. Since this is not easily integrable into the website pipeline, the build process is quite complicated. Building the site also requires a special version of FFmpeg that includes support for the FDK AAC library. Therefore, it is recommended to use the Nix package manager to set up the environment. Please note that this requires Nix 2.4 or later with the experimental features nix-command and flakes enabled or Nix 3.0.

Simply building the site can be accomplished by running nix build. To run the build in-place (not inside the build sandbox), a development shell can be entered nix develop or by using direnv. Then, the build script can be run with ./build.sh.

The deployment is automated with the script deploy.sh. It automatically builds the site using Nix to achieve reproducibility and then deploys it via rsync to either the staging or production environment.

License

This project is licensed under the terms of the MIT License. You can find its full license text in the file LICENSE.

This only covers the files in this repository with the exception of the podcast content (content/sch???-*), which is solely owned by the contributors to the specific episode with no extra rights granted. Also, parts of the built website can be covered by other terms, due to it including code from external projects.