ActivityPub-federated video streaming platform using P2P directly in your web browser
Update production guide for freebsd users
Chocobozzz6aad0c1e67db
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.mdindex 59124b31db..1fa82c03c4 100644--- a/support/doc/dependencies.md+++ b/support/doc/dependencies.md@@ -441,6 +441,8 @@ On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jailpkg install -y sudo bash wget git python nginx pkgconf postgresql13-server postgresql13-contrib redis openssl node npm yarn ffmpeg unzip```+1. install `sharp` build dependencies: https://sharp.pixelplumbing.com/install/#building-from-source+1. **PeerTube <= v7.3 only** Install Yarn:```shpkg install -y yarndiff --git a/support/doc/production.md b/support/doc/production.mdindex b092d00456..03bf716916 100644--- a/support/doc/production.md+++ b/support/doc/production.md@@ -87,12 +87,23 @@ sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertubInstall Peertube:-```bash+::: code-group++```bash [GNU/Linux]+cd /var/www/peertube+sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest+cd ./peertube-latest && sudo -H -u peertube npm run install-node-dependencies -- --production+```++```bash [FreeBSD]cd /var/www/peertubesudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latestcd ./peertube-latest && sudo -H -u peertube npm run install-node-dependencies -- --production+sudo -H -u peertube npm explore sharp -- npm run build```+:::+### :wrench: PeerTube configurationCopy the default configuration file that contains the default configuration provided by PeerTube.@@ -295,11 +306,21 @@ Now your instance is up you can:Run the upgrade script (the password it asks is PeerTube's database user password):-```bash+::: code-group++```bash [GNU/Linux]cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.shsudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd```+```bash [FreeBSD]+cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh+cd /var/www/peertube/peertube-latest && sudo -H -u peertube npm explore sharp -- npm run build+sudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd+```++:::+You may want to run `sudo -u peertube pnpm store prune` after several upgrades to free up disk space.<details>