mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Add upgrade steps
This commit is contained in:
parent
544de6cdcb
commit
1c0abdeaed
1 changed files with 24 additions and 1 deletions
25
README.md
25
README.md
|
@ -15,7 +15,7 @@ $ sudo apt-get install -y nodejs
|
||||||
2. Install the peertube with **OVH fix** branch.
|
2. Install the peertube with **OVH fix** branch.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ yunohost app install --debug https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix
|
$ yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
3. After installation is complete run **yarn install**.
|
3. After installation is complete run **yarn install**.
|
||||||
|
@ -52,3 +52,26 @@ password: **created in above step**
|
||||||
|
|
||||||
## Steps for upgrading
|
## Steps for upgrading
|
||||||
|
|
||||||
|
1. Upgrade peertube with **OVH fix** branch.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
2. After upgarde is complete run **yarn install**.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd /var/www/peertube && yarn install --production --pure-lockfile
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Give proper **permissions** to peertube
|
||||||
|
|
||||||
|
```
|
||||||
|
$ chown -R peertube:peertube /var/www/peertube
|
||||||
|
```
|
||||||
|
|
||||||
|
4. **Restart peertube** and check if there is any error message.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ service peertube restart
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue