PeerTube/apps/peertube-runner
Chocobozzz f0b8938a80
Update peertube runner version
2023-12-20 15:30:14 +01:00
..
scripts
src Runner download videoFileUrl follow redirect 2023-12-20 15:26:43 +01:00
.gitignore
.npmignore
README.md
package.json Update peertube runner version 2023-12-20 15:30:14 +01:00
tsconfig.json
yarn.lock Runner download videoFileUrl follow redirect 2023-12-20 15:26:43 +01:00

README.md

PeerTube runner

Runner program to execute jobs (transcoding...) of remote PeerTube instances.

Commands below has to be run at the root of PeerTube git repository.

Dev

Install dependencies

cd peertube-root
yarn install --pure-lockfile
cd apps/peertube-runner && yarn install --pure-lockfile

Develop

cd peertube-root
npm run dev:peertube-runner

Build

cd peertube-root
npm run build:peertube-runner

Run

cd peertube-root
node apps/peertube-runner/dist/peertube-runner.js --help

Publish on NPM

cd peertube-root
(cd apps/peertube-runner && npm version patch) && npm run build:peertube-runner && (cd apps/peertube-runner && npm publish --access=public)