Overview:
The Радио-Т hugo is a theme and set of scripts used for creating and delivering a generated website and publishing podcasts. Before using it, you need to have the docker image “publisher” built. The scripts for publishing can be accessed using the “make” command in the “./publisher” directory. They allow for creating templates for new episodes, uploading MP3 files with tags and images, deploying changes to a git repository, and more.
Features:
- Easy setup: Requires docker-compose and a pre-built docker image.
- Template creation: Allows for creating templates for new podcast episodes.
- MP3 file handling: Includes a script for adding tags and images to an MP3 file and distributing it to multiple nodes.
- Deployment automation: Provides a script for adding changes to a git repository and deploying them.
Installation:
- Ensure that you have a pre-built docker image for “publisher”.
- Use docker-compose to build the “publisher” image. Run the following command in the root directory of the repository:
docker-compose build publisher
- Access the scripts by navigating to the “./publisher” directory.
- Use the “make” command followed by the desired command to execute various actions:
- To create a template for a new episode, use the command:
- To create a template for the next episode’s topics, use the command:
- To upload an MP3 file with tags and images, use the command:
make upload-mp3 FILE=rt_podcast685/rt_podcast685.mp3
Make sure to replace the “FILE” argument with the path to your MP3 file. - To deploy changes to a git repository, use the command:
Note: Before executing the above command, make sure to add the directory containing the podcast’s MP3 files as a volume in the docker-compose config file.
Summary:
The Радио-Т hugo theme and scripts streamline the process of creating and delivering a website and publishing podcasts. With features such as template creation, MP3 file handling, and automated deployment, it provides a convenient solution for managing podcast content and website updates. The installation process involves building a docker image and using the provided scripts in the “publisher” directory.