diff options
author | philippe lhardy <pl@artisanlogiciel.net> | 2021-03-01 09:18:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-03-04 12:22:29 +0100 |
commit | c11fc2d9de28b7de30fa970b2c481f598b65098f (patch) | |
tree | 54d87a758629c397d430802e6cf224eb15ceb9e3 | |
parent | a5ea2aeaf03685a39af759829cb5417d2ef93998 (diff) | |
download | PeerTube-c11fc2d9de28b7de30fa970b2c481f598b65098f.tar.gz PeerTube-c11fc2d9de28b7de30fa970b2c481f598b65098f.tar.zst PeerTube-c11fc2d9de28b7de30fa970b2c481f598b65098f.zip |
postgres creatuser password comment
user experience, usualy way is to hit enter whern no indication is given, so make it explicit.
-rw-r--r-- | support/doc/production.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index fcb379a8a..4eb3111f0 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: | |||
39 | 39 | ||
40 | ``` | 40 | ``` |
41 | $ sudo -u postgres createuser -P peertube | 41 | $ sudo -u postgres createuser -P peertube |
42 | ``` | ||
43 | |||
44 | Here you should enter a password for postgresql user peertube, it should be copied in production.yaml file. | ||
45 | 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. | ||
46 | |||
47 | ``` | ||
42 | $ sudo -u postgres createdb -O peertube -E UTF8 -T template0 peertube_prod | 48 | $ sudo -u postgres createdb -O peertube -E UTF8 -T template0 peertube_prod |
43 | ``` | 49 | ``` |
44 | 50 | ||
51 | |||
45 | Then enable extensions PeerTube needs: | 52 | Then enable extensions PeerTube needs: |
46 | 53 | ||
47 | ``` | 54 | ``` |