mirror of https://github.com/Chocobozzz/PeerTube
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.pull/415/head
parent
0414ed1066
commit
193b12bf8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue