Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and comments for windows users #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use the term Linux, more explicitly, as appu is not tested on other UN*Xes.
Also the Markdown format you chose is different from the Windows section. I would make them the same and not a list item. Maybe ##### Linux and ##### Windows (CMD). Or even, just text, like For Linux: and For cmd.exe on Windows:.

```
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%
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep this the same way as in the Linux variant until this issue gets addressed in #45 or #67. This doesn't make sense for any other Podcast. I would keep that in an internal gist for our podcast.



#### 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
Expand Down