Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| selfhost:podfetch [2024/01/25 14:49] – willy | selfhost:podfetch [2024/02/22 13:35] (current) – removed willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== PodFetch ====== | ||
| - | [[https:// | ||
| - | |||
| - | It needs PostgreSQL, even if it doesnt use it, so: | ||
| - | <code bash> | ||
| - | > emerge postgresql | ||
| - | </ | ||
| - | |||
| - | you don't need to run it. | ||
| - | |||
| - | Create user: | ||
| - | <code bash> | ||
| - | > useradd -d / | ||
| - | > su - podfetch | ||
| - | > wget https:// | ||
| - | > unzip podfetch-linux.zip | ||
| - | </ | ||
| - | |||
| - | Move podcast folder, as root: | ||
| - | <code bash> | ||
| - | > mkdir / | ||
| - | > rmdir / | ||
| - | > ln -s / | ||
| - | </ | ||
| - | |||
| - | Run script: | ||
| - | <file txt podfetch.sh> | ||
| - | #!/bin/bash | ||
| - | |||
| - | export SERVER_URL=https:// | ||
| - | |||
| - | export DATABASE_URL=sqlite:/// | ||
| - | |||
| - | export REVERSE_PROXY=true | ||
| - | export REVERSE_PROXY_HEADER=X-WEBAUTH-USER | ||
| - | export REVERSE_PROXY_AUTO_SIGN_UP=true | ||
| - | |||
| - | export TELEGRAM_BOT_TOKEN= | ||
| - | export TELEGRAM_BOT_CHAT_ID= | ||
| - | export TELEGRAM_API_ENABLED=false | ||
| - | |||
| - | #export GPODDER_INTEGRATION_ENABLED=false | ||
| - | |||
| - | cd / | ||
| - | ./ | ||
| - | |||
| - | </ | ||
| - | |||
| - | startup script **/ | ||
| - | <file txt 35-podfetch.start> | ||
| - | #!/bin/bash | ||
| - | |||
| - | start-stop-daemon -b -m -p / | ||
| - | </ | ||