From: Okhin Date: Sat, 24 Mar 2018 19:41:31 +0000 (+0100) Subject: Add the activation of a needed SCL for CentOS X-Git-Tag: v1.0.0-beta.2~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=193b12bf8fa7aae3b171fcfe781074b0d23ece58;p=oweals%2Fpeertube.git 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. --- 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 $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip ``` -Install Peertube +Install Peertube. If you're using CentOS7, do not forget to activate the devtoolset-6 software collection: +``` +$ scl enable devtool-6 bash +``` +And after that, follow the step as usual. Do not forget to exit the environment after installing Peertube. ``` $ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest $ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile