postgres creatuser password comment
user experience, usualy way is to hit enter whern no indication is given, so make it explicit.
This commit is contained in:
parent
a5ea2aeaf0
commit
c11fc2d9de
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
Don’t 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:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue