diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/docker.md | 4 | ||||
-rw-r--r-- | support/doc/production.md | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index 087961802..cab336344 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -53,6 +53,10 @@ $ docker-compose up | |||
53 | **Important**: note that you'll get the initial `root` user password from the | 53 | **Important**: note that you'll get the initial `root` user password from the |
54 | program output, so check out your logs to find them. | 54 | program output, so check out your logs to find them. |
55 | 55 | ||
56 | ### What now? | ||
57 | |||
58 | See the production guide ["What now" section](/support/doc/production.md#what-now). | ||
59 | |||
56 | ### Upgrade | 60 | ### Upgrade |
57 | 61 | ||
58 | Pull the latest images and rerun PeerTube: | 62 | Pull the latest images and rerun PeerTube: |
diff --git a/support/doc/production.md b/support/doc/production.md index 8310e7fda..8d2a4da11 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -41,6 +41,13 @@ $ sudo -u postgres createuser -P peertube | |||
41 | $ sudo -u postgres createdb -O peertube peertube_prod | 41 | $ sudo -u postgres createdb -O peertube peertube_prod |
42 | ``` | 42 | ``` |
43 | 43 | ||
44 | Then enable extensions PeerTube needs: | ||
45 | |||
46 | ``` | ||
47 | $ sudo -u postgres psql -c "CREATE EXTENSION pg_trgm;" peertube_prod | ||
48 | $ sudo -u postgres psql -c "CREATE EXTENSION unaccent;" peertube_prod | ||
49 | ``` | ||
50 | |||
44 | ### Prepare PeerTube directory | 51 | ### Prepare PeerTube directory |
45 | 52 | ||
46 | Fetch the latest tagged version of Peertube | 53 | Fetch the latest tagged version of Peertube |
@@ -194,7 +201,7 @@ Now your instance is up you can: | |||
194 | 201 | ||
195 | ## Upgrade | 202 | ## Upgrade |
196 | 203 | ||
197 | ### PeerTube code | 204 | ### PeerTube instance |
198 | 205 | ||
199 | **Check the changelog (in particular BREAKING CHANGES!):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md | 206 | **Check the changelog (in particular BREAKING CHANGES!):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md |
200 | 207 | ||