diff options
-rw-r--r-- | support/doc/production.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index 606f13c9b..e46d9d9e1 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -37,19 +37,19 @@ $ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/la | |||
37 | 37 | ||
38 | Open the peertube directory, create a few required directories | 38 | Open the peertube directory, create a few required directories |
39 | ``` | 39 | ``` |
40 | cd /var/www/peertube && sudo -u peertube mkdir config storage versions && cd versions | 40 | $ cd /var/www/peertube && sudo -u peertube mkdir config storage versions && cd versions |
41 | ``` | 41 | ``` |
42 | 42 | ||
43 | Download the latest version of the Peertube client, unzip it and remove the zip | 43 | Download the latest version of the Peertube client, unzip it and remove the zip |
44 | ``` | 44 | ``` |
45 | sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" && \ | 45 | $ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" |
46 | sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip | 46 | $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip |
47 | ``` | 47 | ``` |
48 | 48 | ||
49 | Install Peertube | 49 | Install Peertube |
50 | ``` | 50 | ``` |
51 | cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ | 51 | $ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest |
52 | cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile | 52 | $ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile |
53 | ``` | 53 | ``` |
54 | 54 | ||
55 | ### PeerTube configuration | 55 | ### PeerTube configuration |