Updated to version 1.0.0-beta.16
This commit is contained in:
parent
9a9716ce60
commit
8bb4dcf9c9
10
README.md
10
README.md
|
@ -4,7 +4,7 @@
|
||||||
[![Install Peertube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=peertube)<br><br>
|
[![Install Peertube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=peertube)<br><br>
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Shipped Version: **1.0.0-beta.15**
|
Shipped Version: **1.0.0-beta.16**
|
||||||
|
|
||||||
# Nodejs branch for servers giving error on yarn install (OVH)
|
# Nodejs branch for servers giving error on yarn install (OVH)
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ You will have to run few **commands in the terminal to run Peertube**. **Nodejs*
|
||||||
$ sudo apt-get install -y nodejs
|
$ sudo apt-get install -y nodejs
|
||||||
1. Install the peertube with **OVH fix** branch.
|
1. Install the peertube with **OVH fix** branch.
|
||||||
|
|
||||||
$ yunohost app install --debug https://github.com/YunoHost-Apps/peertube_ynh/edit/ovh_fix
|
$ yunohost app --debug install --debug https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix
|
||||||
1. After installation is complete run **yarn install**.
|
1. After installation is complete run **yarn install**.
|
||||||
|
|
||||||
$ cd /var/www/peertube && yarn install --production --pure-lockfile
|
$ cd /var/www/peertube && yarn install --production --pure-lockfile
|
||||||
|
@ -33,7 +33,7 @@ You will have to run few **commands in the terminal to run Peertube**. **Nodejs*
|
||||||
1. Go to your **domain** to check if peertube is running and everthing is ok.
|
1. Go to your **domain** to check if peertube is running and everthing is ok.
|
||||||
1. Change your **root password** by this command:
|
1. Change your **root password** by this command:
|
||||||
|
|
||||||
$ cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production /opt/node_n/bin/npm run reset-password -- -u root
|
$ cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production npm run reset-password -- -u root
|
||||||
|
|
||||||
Username: **root**
|
Username: **root**
|
||||||
password: **created in above step**
|
password: **created in above step**
|
||||||
|
@ -44,7 +44,7 @@ You will have to run few **commands in the terminal to run Peertube**. **Nodejs*
|
||||||
$ service peertube stop
|
$ service peertube stop
|
||||||
1. Upgrade the package:
|
1. Upgrade the package:
|
||||||
|
|
||||||
$ yunohost app upgrade -u https://github.com/YunoHost-Apps/peertube_ynh/edit/ovh_fix/
|
$ yunohost app upgrade --debug -u https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix peertube
|
||||||
1. After installation is complete run **yarn install**.
|
1. After installation is complete run **yarn install**.
|
||||||
|
|
||||||
$ cd /var/www/peertube && yarn install --production --pure-lockfile
|
$ cd /var/www/peertube && yarn install --production --pure-lockfile
|
||||||
|
@ -53,7 +53,7 @@ You will have to run few **commands in the terminal to run Peertube**. **Nodejs*
|
||||||
$ chwon -R peertube:peertube /var/www/peertube
|
$ chwon -R peertube:peertube /var/www/peertube
|
||||||
1. Start service.
|
1. Start service.
|
||||||
|
|
||||||
$ service peertub peerutbe
|
$ service peertube start
|
||||||
|
|
||||||
|
|
||||||
## What is Peertube ?
|
## What is Peertube ?
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
|
SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.16/peertube-v1.0.0-beta.16.tar.xz
|
||||||
SOURCE_SUM=fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0
|
SOURCE_SUM=6cccb37d443d32ff83b10d285aa20c4e5c165d61ab5d83461bde3ffa6a4619af
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.xz
|
SOURCE_FORMAT=tar.xz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Bypass PeerTube for performance reasons. Could be removed
|
||||||
location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
|
location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
|
||||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||||
|
|
||||||
|
|
|
@ -71,8 +71,10 @@ trending:
|
||||||
# Cache remote videos on your server, to help other instances to broadcast the video
|
# Cache remote videos on your server, to help other instances to broadcast the video
|
||||||
# You can define multiple caches using different sizes/strategies
|
# You can define multiple caches using different sizes/strategies
|
||||||
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
|
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
|
||||||
redundancy:
|
#redundancy:
|
||||||
videos:
|
# videos:
|
||||||
|
# check_interval: '6 hour' # How often you want to check new videos to cache
|
||||||
|
# strategies:
|
||||||
# -
|
# -
|
||||||
# size: '10GB'
|
# size: '10GB'
|
||||||
# strategy: 'most-views' # Cache videos that have the most views
|
# strategy: 'most-views' # Cache videos that have the most views
|
||||||
|
@ -80,11 +82,11 @@ redundancy:
|
||||||
# size: '10GB'
|
# size: '10GB'
|
||||||
# strategy: 'trending' # Cache trending videos
|
# strategy: 'trending' # Cache trending videos
|
||||||
# -
|
# -
|
||||||
size: '1GB'
|
# size: '1GB'
|
||||||
# Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
|
# Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
|
||||||
min_lifetime: '48 hours'
|
# min_lifetime: '48 hours'
|
||||||
strategy: 'recently-added' # Cache recently added videos
|
# strategy: 'recently-added' # Cache recently added videos
|
||||||
minViews: 10 # Having at least x views
|
# minViews: 10 # Having at least x views
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -162,7 +164,7 @@ instance:
|
||||||
# Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:'
|
# Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:'
|
||||||
robots: |
|
robots: |
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: ''
|
Disallow:
|
||||||
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
|
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
|
||||||
securitytxt:
|
securitytxt:
|
||||||
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
|
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
|
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
|
||||||
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
|
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
|
||||||
},
|
},
|
||||||
"version": "1.0.0-beta.15",
|
"version": "1.0.0-beta.16",
|
||||||
"url": "https://github.com/Chocobozzz/PeerTube",
|
"url": "https://github.com/Chocobozzz/PeerTube",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
Loading…
Reference in a new issue