mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Federated (ActivityPub) video streaming platform using P2P for YunoHost
conf | ||
scripts | ||
.travis.yml | ||
check_process | ||
LICENSE | ||
manifest.json | ||
pull_request_template.md | ||
README.md |
ovh_fix branch for peertube_ynh
If installing on an ovh virtual machine or having gyp ERR! configure error
please follow the steps indicated in Chocobozzz/PeerTube#830 (comment)
Steps for installing
- Install nodejs
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs
- Install the peertube with OVH fix branch.
$ yunohost app install --debug https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix
- After installation is complete run yarn install.
$ cd /var/www/peertube && yarn install --production --pure-lockfile
- Give proper permissions to peertube
$ chown -R peertube:peertube /var/www/peertube
- Restart peertube and check if there is any error message.
$ service peertube restart
$ journalctl -feu peertube
-
If there is no error in red in the last lines of log. Press ctrl+c to stop the logs.
-
Go to your domain to check if peertube is running and everthing is ok.
-
Change your root password by this command:
$ cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production npm run reset-password -- -u root
Username: root password: created in above step