diff options
author | Okhin <okhin@okhin.fr> | 2018-03-24 20:41:31 +0100 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-03-24 21:17:29 +0100 |
commit | 193b12bf8fa7aae3b171fcfe781074b0d23ece58 (patch) | |
tree | 2594996a952df82fa16dcdf187fada858156ece3 /support/doc | |
parent | 0414ed1066e4d4c24f98e375cd8f14d44401c09a (diff) | |
download | PeerTube-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.
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 6 |
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 | ||
54 | Install Peertube | 54 | Install Peertube. If you're using CentOS7, do not forget to activate the devtoolset-6 software collection: |
55 | ``` | ||
56 | $ scl enable devtool-6 bash | ||
57 | ``` | ||
58 | And 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 |