1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
yalh76 2019-06-23 15:46:50 +02:00
parent e5a3db383e
commit 544de6cdcb

View file

@ -12,43 +12,43 @@ $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs $ 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 --debug https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix
``` ```
3. After installation is complete run yarn install . 3. 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
``` ```
4. Give proper permissions to peertube 4. Give proper **permissions** to peertube
``` ```
$ chown -R peertube:peertube /var/www/peertube $ chown -R peertube:peertube /var/www/peertube
``` ```
5. Restart peertube and check if there is any error message. 5. **Restart peertube** and check if there is any error message.
``` ```
$ service peertube restart $ service peertube restart
$ journalctl -feu peertube $ journalctl -feu peertube
``` ```
6. If there is no error in red in the last lines of log. Press ctrl+c to stop the logs. 6. If there is no **error in red** in the last lines of log. Press **ctrl+c** to stop the logs.
7. Go to your domain to check if peertube is running and everthing is ok. 7. Go to your **domain** to check if peertube is running and everthing is ok.
8. Change your root password by this command: 8. 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 $ 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**
## Steps for upgrading ## Steps for upgrading