Add FreeBSD support (#1054)

This commit is contained in:
Raphaël
2024-02-28 03:45:04 +01:00
committed by GitHub
parent 0bc7a4498c
commit afdc1c7a8e
4 changed files with 78 additions and 27 deletions

View File

@@ -83,6 +83,13 @@ This is the recommended way for Windows users.
* Run `pip install -r requirements.txt` command to install FlareSolverr dependencies.
* Run `python src/flaresolverr.py` command to start FlareSolverr.
### From source code (FreeBSD/TrueNAS CORE)
* Run `pkg install chromium python39 py39-pip xorg-vfbserver` command to install the required dependencies.
* Clone this repository and open a shell in that path.
* Run `python3.9 -m pip install -r requirements.txt` command to install FlareSolverr dependencies.
* Run `python3.9 src/flaresolverr.py` command to start FlareSolverr.
### Systemd service
We provide an example Systemd unit file `flaresolverr.service` as reference. You have to modify the file to suit your needs: paths, user and environment variables.