mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
update readme with ovh command line
This commit is contained in:
parent
e63f148d93
commit
cb8a1c90a9
1 changed files with 15 additions and 7 deletions
22
README.md
22
README.md
|
@ -36,6 +36,12 @@ Want to see in action?
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
Following command line examples have been updated for ovh virtual machine, according to indications in [Chocobozzz/PeerTube#830 (comment)](https://github.com/Chocobozzz/PeerTube/issues/830#issuecomment-425942717)
|
||||||
|
|
||||||
|
**If you are NOT hosted on OVH virtual machine or experiencing `gyp ERR! configure error`, please switch back to [master branch](https://github.com/YunoHost-Apps/peertube_ynh)**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Guidelines
|
### Guidelines
|
||||||
|
|
||||||
1. Require **dedicated domain** like **peertube.domain.tld**.
|
1. Require **dedicated domain** like **peertube.domain.tld**.
|
||||||
|
@ -48,22 +54,24 @@ Want to see in action?
|
||||||
$ swapon /swapfile
|
$ swapon /swapfile
|
||||||
$ echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
|
$ echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
|
||||||
1. This app is **multi-instance** (you can have more then one PeerTube instance running on a YunoHost server)
|
1. This app is **multi-instance** (you can have more then one PeerTube instance running on a YunoHost server)
|
||||||
1. If installing on an ovh virtual machine or having `gyp ERR! configure error` please follow the steps indicated in [Chocobozzz/PeerTube#830 (comment)](https://github.com/Chocobozzz/PeerTube/issues/830#issuecomment-425942717)
|
|
||||||
|
|
||||||
### Installing guide
|
### Installing guide
|
||||||
|
|
||||||
1. App can be installed by YunoHost **admin web-interface** or by **running following command**:
|
1. App can be installed by **running following commands**:
|
||||||
|
|
||||||
$ sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh
|
$ sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix
|
||||||
|
$ cd /var/www/peertube && sudo yarn install --production --pure-lockfile
|
||||||
|
$ sudo systemctl restart peertube
|
||||||
1. Admin username is : **root**.
|
1. Admin username is : **root**.
|
||||||
1. **Admin password** will be sent to the email address given at the time of the installation.
|
1. **Admin password** will be sent to the email address given at the time of the installation.
|
||||||
1. **TLS** and **starttls** are disabled for the outgoing mails. If you intent to use email address not hosted on your local server,it's advised to have a proper SMTP configured with tls and starttls settings by editing **/var/www/peertube/config/production.yml**.
|
1. **TLS** and **starttls** are disabled for the outgoing mails. If you intent to use email address not hosted on your local server,it's advised to have a proper SMTP configured with tls and starttls settings by editing **/var/www/peertube/config/production.yml**.
|
||||||
|
|
||||||
### Update Guide
|
### Update Guide
|
||||||
1. App can be updated by YunoHost **admin web-interface** or with the following command**:
|
1. App can be updated with the **following commands**:
|
||||||
|
|
||||||
$ sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/peertube_ynh peertube
|
$ sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix peertube
|
||||||
|
$ cd /var/www/peertube && sudo yarn install --production --pure-lockfile
|
||||||
|
$ sudo systemctl restart peertube
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
* NodeJS, PostgreSQL.
|
* NodeJS, PostgreSQL.
|
||||||
|
|
Loading…
Reference in a new issue