diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-24 15:48:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-05-27 14:56:06 +0200 |
commit | 7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1 (patch) | |
tree | fb3b258dd55bcf2d85a3cf507ea0bb9e6d2b9fc2 /support/doc | |
parent | ff747e79400f43de79df578c14d9b81ff55de84b (diff) | |
download | PeerTube-7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1.tar.gz PeerTube-7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1.tar.zst PeerTube-7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1.zip |
Move CLI dependencies in their own package.json
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/tools.md | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 086cd5cff..c0f0b4ba1 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -35,7 +35,7 @@ You need to follow all the following steps even if you are on a PeerTube server | |||
35 | 35 | ||
36 | ### Dependencies | 36 | ### Dependencies |
37 | 37 | ||
38 | Install the [PeerTube dependencies](dependencies.md). | 38 | Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. |
39 | 39 | ||
40 | ### Installation | 40 | ### Installation |
41 | 41 | ||
@@ -44,18 +44,14 @@ Clone the PeerTube repo to get the latest version (even if you are on your PeerT | |||
44 | ``` | 44 | ``` |
45 | $ git clone https://github.com/Chocobozzz/PeerTube.git | 45 | $ git clone https://github.com/Chocobozzz/PeerTube.git |
46 | $ CLONE="$(pwd)/PeerTube" | 46 | $ CLONE="$(pwd)/PeerTube" |
47 | ``` | ||
48 | |||
49 | Run ``yarn install --pure-lockfile`` | ||
50 | ``` | ||
51 | $ cd ${CLONE} | 47 | $ cd ${CLONE} |
52 | $ yarn install --pure-lockfile | ||
53 | ``` | 48 | ``` |
54 | 49 | ||
55 | Build server tools: | 50 | Install dependencies and build CLI tools: |
51 | |||
56 | ``` | 52 | ``` |
57 | $ cd ${CLONE} | 53 | $ NOCLIENT=1 yarn install --pure-lockfile |
58 | $ npm run build:server | 54 | $ npm run setup:cli |
59 | ``` | 55 | ``` |
60 | 56 | ||
61 | ### CLI wrapper | 57 | ### CLI wrapper |