From bc2a1f071c1c1af2a291bd689404fa768686e5be Mon Sep 17 00:00:00 2001 From: David Acacio Date: Tue, 25 Jan 2022 23:27:40 +0100 Subject: [PATCH] Fixes and comments for windows users --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index b47a051..6877e03 100644 --- a/README.md +++ b/README.md @@ -33,39 +33,74 @@ HTTP/HTTPS and S3 sources are currently supported. The following are some environment variables you'll need to specify to have this running. +*unix ``` export PODCAST_YAML=/path/to/your/podcast.yaml export DRIVE_CREDENTIALS_FILE=/path/to/your/drive_credentials.json export AWS_PROFILE=appu ``` +Windows (CMD) +``` +set PODCAST_YAML=\path\to\your\podcast.yaml +set DRIVE_CREDENTIALS_FILE=\path\to\your\drive_credentials.json +set AWS_PROFILE=appu +``` + #### Collect data for episode The following command creates the episode configuration file, with the publishing details for this episode calculated. +*unix ``` ./epidator mypodcast-XX.master.mp3 > mypodcast-XX.yaml ``` +Windows (CDM) +``` +epidator mypodcast-XX.master.mp3 > mypodcast-XX.yaml +``` #### Edit and upload the audio file +*unix ``` docker build -t ghcr.io/edyo/appu:local appu/. ./appu mypodcast-XX.yaml ghcr.io/edyo/appu:local /keybase/team/edyo/appu.credentials ``` +Windows (CMD) +``` +set PAT=[YOUR-GITHUB-TOKEN] +echo %PAT% | docker login ghcr.io -u [USERNAME] --password-stdin +appu mypodcast-XX.yaml ghcr.io/edyo/appu:v0.0.1 %AWS_SHARED_CREDENTIALS_FILE% +``` + + #### Download and update the feed +*unix ``` ./feedupdater http://my.podcast.com/podcast/feed.xml mypodcast-XX.yaml > new_feed.xml ``` +Windows (CMD) +``` +feedupdater "http://my.podcast.com/podcast/feed.xml" mypodcast-XX.yaml > new_feed.xml +``` + + #### Upload the new feed +*unix ``` ./uploader new_feed.xml feed.xml mypodcast-XX.yaml ``` +Windows (CMD) +``` +uploader new_feed.xml feed.xml mypodcast-XX.yaml +``` + First argument is the name of the XML file with the new episode entry. The second argument is the bucket key to upload the file to. The Third argument is the episode configuration file. ### Other operations