mirror of https://github.com/Chocobozzz/PeerTube
postgres creatuser password comment
user experience, usualy way is to hit enter whern no indication is given, so make it explicit.pull/3824/head
parent
a5ea2aeaf0
commit
c11fc2d9de
|
@ -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 New Issue