mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Use npm run install-node-dependencies
Instead of yarn, so we can move to another package manager in the future
This commit is contained in:
parent
70dae47f08
commit
29f55e9115
7 changed files with 13 additions and 14 deletions
|
@ -110,7 +110,7 @@ sudo yum update
|
|||
sudo yum install nginx postgresql postgresql-server postgresql-contrib openssl gcc-c++ make wget redis git devtoolset-7
|
||||
```
|
||||
|
||||
5. You need to use a more up to date version of G++ in order to run the yarn install command, hence the installation of devtoolset-7.
|
||||
5. You need to use a more up to date version of G++ in order to run the `npm run install-node-dependencies` command, hence the installation of devtoolset-7.
|
||||
|
||||
```sh
|
||||
sudo scl enable devtoolset-7 bash
|
||||
|
@ -119,7 +119,7 @@ sudo scl enable devtoolset-7 bash
|
|||
Later when you invoke any node command, please prefix them with `CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++`, such as with:
|
||||
|
||||
```sh
|
||||
sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ yarn install --production --pure-lockfile
|
||||
sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ npm run install-node-dependencies -- --production
|
||||
```
|
||||
|
||||
6. Initialize the PostgreSQL database:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue