Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

postgres creatuser password comment

philippe lhardyc11fc2d9de28
diff --git a/support/doc/production.md b/support/doc/production.md
index fcb379a8a2..4eb3111f03 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -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:
```