postgres creatuser password comment

user experience, usualy way is to hit enter whern no indication is given, so make it explicit.
pull/3824/head
philippe lhardy 2021-03-01 09:18:08 +01:00 committed by Chocobozzz
parent a5ea2aeaf0
commit c11fc2d9de
1 changed files with 7 additions and 0 deletions

View File

@ -39,9 +39,16 @@ Create the production database and a peertube user inside PostgreSQL:
```
$ sudo -u postgres createuser -P peertube
```
Here you should enter a password for postgresql user peertube, it should be copied in production.yaml file.
Dont just hit enter else it will be empty, default production yaml uses peertube here, but it is better you pick a stronger one.
```
$ sudo -u postgres createdb -O peertube -E UTF8 -T template0 peertube_prod
```
Then enable extensions PeerTube needs:
```