PeerTube/apps/peertube-runner
Chocobozzz 6a85ec0480
Also handle SIGTERM to cleanup jobs
2023-08-28 16:52:08 +02:00
..
scripts
src Also handle SIGTERM to cleanup jobs 2023-08-28 16:52:08 +02:00
.gitignore
.npmignore
README.md
package.json Migrate server to ESM 2023-08-11 15:02:33 +02:00
tsconfig.json
yarn.lock

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)