You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
744 B
Markdown
44 lines
744 B
Markdown
# 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
|
|
|
|
```bash
|
|
cd peertube-root
|
|
yarn install --pure-lockfile
|
|
cd apps/peertube-runner && yarn install --pure-lockfile
|
|
```
|
|
|
|
### Develop
|
|
|
|
```bash
|
|
cd peertube-root
|
|
npm run dev:peertube-runner
|
|
```
|
|
|
|
### Build
|
|
|
|
```bash
|
|
cd peertube-root
|
|
npm run build:peertube-runner
|
|
```
|
|
|
|
### Run
|
|
|
|
```bash
|
|
cd peertube-root
|
|
node apps/peertube-runner/dist/peertube-runner.js --help
|
|
```
|
|
|
|
### Publish on NPM
|
|
|
|
```bash
|
|
cd peertube-root
|
|
(cd apps/peertube-runner && npm version patch) && npm run build:peertube-runner && (cd apps/peertube-runner && npm publish --access=public)
|
|
```
|