specify to run services before running PeerTube

pull/1103/head
Rigel Kent 2018-09-22 15:48:27 +02:00
parent 9fe4406794
commit 81cdf382ff
No known key found for this signature in database
GPG Key ID: EA12971B0E438F36
1 changed files with 16 additions and 0 deletions

View File

@ -31,6 +31,11 @@ $ sudo apt-get update
$ sudo apt install ffmpeg
```
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
```
$ sudo systemctl start redis postgresql
```
## Arch Linux
1. Run:
@ -39,6 +44,11 @@ $ sudo apt install ffmpeg
$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx
```
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
```
$ sudo systemctl start redis postgresql
```
## CentOS 7
1. Install NodeJS 8.x (current LTS):
@ -68,6 +78,12 @@ Later when you invoke any node command, please prefix them with `CC=/opt/rh/devt
$ 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
```
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
```
$ sudo service redis start
$ sudo service postgresql start
```
## FreeBSD
On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: