aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOkhin <okhin@okhin.fr>2018-03-24 20:41:31 +0100
committerRigel Kent <par@rigelk.eu>2018-03-24 21:17:29 +0100
commit193b12bf8fa7aae3b171fcfe781074b0d23ece58 (patch)
tree2594996a952df82fa16dcdf187fada858156ece3
parent0414ed1066e4d4c24f98e375cd8f14d44401c09a (diff)
downloadPeerTube-193b12bf8fa7aae3b171fcfe781074b0d23ece58.tar.gz
PeerTube-193b12bf8fa7aae3b171fcfe781074b0d23ece58.tar.zst
PeerTube-193b12bf8fa7aae3b171fcfe781074b0d23ece58.zip
Add the activation of a needed SCL for CentOS
There's a need to activate the devtool-6 SCL before running the yarn install command, to have node-gyp correctly compiling the needed binaries.
-rw-r--r--support/doc/production.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 3a58811b0..313b57889 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -51,7 +51,11 @@ $ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/down
51$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip 51$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
52``` 52```
53 53
54Install Peertube 54Install Peertube. If you're using CentOS7, do not forget to activate the devtoolset-6 software collection:
55```
56$ scl enable devtool-6 bash
57```
58And after that, follow the step as usual. Do not forget to exit the environment after installing Peertube.
55``` 59```
56$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest 60$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
57$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile 61$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile