diff options
Diffstat (limited to 'apps/peertube-runner/README.md')
-rw-r--r-- | apps/peertube-runner/README.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/apps/peertube-runner/README.md b/apps/peertube-runner/README.md new file mode 100644 index 000000000..37760f867 --- /dev/null +++ b/apps/peertube-runner/README.md | |||
@@ -0,0 +1,43 @@ | |||
1 | # PeerTube runner | ||
2 | |||
3 | Runner program to execute jobs (transcoding...) of remote PeerTube instances. | ||
4 | |||
5 | Commands below has to be run at the root of PeerTube git repository. | ||
6 | |||
7 | ## Dev | ||
8 | |||
9 | ### Install dependencies | ||
10 | |||
11 | ```bash | ||
12 | cd peertube-root | ||
13 | yarn install --pure-lockfile | ||
14 | cd apps/peertube-runner && yarn install --pure-lockfile | ||
15 | ``` | ||
16 | |||
17 | ### Develop | ||
18 | |||
19 | ```bash | ||
20 | cd peertube-root | ||
21 | npm run dev:peertube-runner | ||
22 | ``` | ||
23 | |||
24 | ### Build | ||
25 | |||
26 | ```bash | ||
27 | cd peertube-root | ||
28 | npm run build:peertube-runner | ||
29 | ``` | ||
30 | |||
31 | ### Run | ||
32 | |||
33 | ```bash | ||
34 | cd peertube-root | ||
35 | node apps/peertube-runner/dist/peertube-runner.js --help | ||
36 | ``` | ||
37 | |||
38 | ### Publish on NPM | ||
39 | |||
40 | ```bash | ||
41 | cd peertube-root | ||
42 | (cd apps/peertube-runner && npm version patch) && npm run build:peertube-runner && (cd apps/peertube-runner && npm publish --access=public) | ||
43 | ``` | ||