aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-22 11:32:43 +0100
committerChocobozzz <me@florianbigard.com>2018-03-22 11:47:26 +0100
commit05e67d6206669b4a17e786038b1923e79bacb196 (patch)
treeea0eb0ed4ea6944f7bf847e1d4497893019d83ed /support
parent5a649344ffd0e8ac87ca1b573e57156d659f8b9d (diff)
downloadPeerTube-05e67d6206669b4a17e786038b1923e79bacb196.tar.gz
PeerTube-05e67d6206669b4a17e786038b1923e79bacb196.tar.zst
PeerTube-05e67d6206669b4a17e786038b1923e79bacb196.zip
Add logging for emails
Diffstat (limited to 'support')
-rw-r--r--support/doc/tools.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md
index 144c2bd7a..d83203369 100644
--- a/support/doc/tools.md
+++ b/support/doc/tools.md
@@ -11,6 +11,7 @@
11 11
12You need at least 512MB RAM to run the script. 12You need at least 512MB RAM to run the script.
13Scripts can be launched directly from a PeerTube server, or from a separate server, even a desktop PC. 13Scripts can be launched directly from a PeerTube server, or from a separate server, even a desktop PC.
14You need to follow all the following steps even if you are on a PeerTube server.
14 15
15### Dependencies 16### Dependencies
16 17
@@ -21,20 +22,20 @@ Install the [PeerTube dependencies](dependencies.md).
21Clone the PeerTube repo to get the latest version (even if you are on your PeerTube server): 22Clone the PeerTube repo to get the latest version (even if you are on your PeerTube server):
22 23
23``` 24```
24git clone https://github.com/Chocobozzz/PeerTube.git 25$ git clone https://github.com/Chocobozzz/PeerTube.git
25CLONE="$(pwd)/PeerTube" 26$ CLONE="$(pwd)/PeerTube"
26``` 27```
27 28
28Run ``yarn install`` 29Run ``yarn install``
29``` 30```
30cd ${CLONE} 31$ cd ${CLONE}
31yarn install 32$ yarn install
32``` 33```
33 34
34Build server tools: 35Build server tools:
35``` 36```
36cd ${CLONE} 37$ cd ${CLONE}
37npm run build:server 38$ npm run build:server
38``` 39```
39 40
40## Tools 41## Tools
@@ -46,8 +47,8 @@ Be sure you own the videos or have the author's authorization to do so.
46 47
47 48
48``` 49```
49cd ${CLONE} 50$ cd ${CLONE}
50node dist/server/tools/import-videos.js -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD" -t "TARGET_URL" 51$ node dist/server/tools/import-videos.js -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD" -t "TARGET_URL"
51``` 52```
52 53
53 * PEERTUBE_URL : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re/ 54 * PEERTUBE_URL : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re/
@@ -69,6 +70,6 @@ node dist/server/tools/import-videos.js -u "PEERTUBE_URL" -U "PEERTUBE_USER" --p
69You can use this script to import videos directly from the CLI. 70You can use this script to import videos directly from the CLI.
70 71
71``` 72```
72cd ${CLONE} 73$ cd ${CLONE}
73node dist/server/tools/upload.js --help 74$ node dist/server/tools/upload.js --help
74``` 75```