1
0
Fork 0
peertube/apps/peertube-runner
2024-02-23 15:49:09 +01:00
..
scripts Fix peertube runner build 2023-08-18 07:54:31 +02:00
src Fix lint 2024-02-22 10:32:28 +01:00
.gitignore Migrate server to ESM 2023-08-11 15:02:33 +02:00
.npmignore Migrate server to ESM 2023-08-11 15:02:33 +02:00
package.json Update apps versions 2024-02-23 15:49:09 +01:00
README.md Migrate server to ESM 2023-08-11 15:02:33 +02:00
tsconfig.json Migrate server to ESM 2023-08-11 15:02:33 +02:00
yarn.lock Upgrade peertube runner dependencies 2024-02-23 15:26:08 +01:00

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)