2023-04-21 08:05:27 -05:00
|
|
|
# PeerTube runner
|
2023-05-02 06:51:06 -05:00
|
|
|
|
|
|
|
Runner program to execute jobs (transcoding...) of remote PeerTube instances.
|
|
|
|
|
|
|
|
Commands below has to be run at the root of PeerTube git repository.
|
|
|
|
|
|
|
|
## Develop
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run dev:peertube-runner
|
|
|
|
```
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run build:peertube-runner
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
```bash
|
|
|
|
node packages/peertube-runner/dist/peertube-runner.js --help
|
|
|
|
```
|
2023-06-19 06:54:42 -05:00
|
|
|
|
|
|
|
## Publish on NPM
|
|
|
|
|
|
|
|
```bash
|
|
|
|
(cd packages/peertube-runner && npm version patch) && npm run build:peertube-runner && (cd packages/peertube-runner && npm publish --access=public)
|
|
|
|
```
|