Update Installation.md

Updated MacOS install guide thnx to @great_vc
TRaSH 2020-08-02 09:27:48 +02:00
parent eb19ada131
commit 3f0e517b8f
1 changed files with 33 additions and 16 deletions

@ -92,25 +92,43 @@ Configuration files for Bazarr are stored in `/config`.
------
### MacOS
Instruction as provided by ??? and fixes/updates by @great_vc
bazarr requires Python 3.7 or greater (**system Python 2.7.10 not supported**) and can be run from source. This will use *git* as the updater, so make sure that it's installed.
How To Install Bazarr on Mac OS 10.14 in Terminal
1. Install Homebrew `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2 /dev/null`
2. Install pyenv `brew install pyenv-virtualenv`
3. Add Homebrew Directory To Path `export PATH="/usr/local/bin:/usr/local/sbin:$PATH"`
4. Install Python 3.7 `brew install python`
5. Add Python 3.7 Directory to Path `export PATH="/usr/local/opt/python/libexec/bin:$PATH"`
6. Install virtualenv `pip install virtualenv`
7. Create A Python 3.7 Virtual Environment `virtualenv -p /usr/local/bin/python venv`
8. Activate The Virtual Environment `source venv/bin/activate`
9. Change Directory To Applications `cd /Applications`
10. Get Bazarr `git clone https://github.com/morpheus65535/bazarr.git`
11. Change Directory To bazarr `cd bazarr`
12. Install bazarr requirements `python -m pip install -r requirements.txt`
13. Run bazarr `Python bazarr.py`
To Run bazarr in future, open the Terminal, and Repeat steps 8, 9, 11, 13.
2. Install pyenv `brew install pyenv-virtualenv`
3. Add Homebrew Directory To Path `export PATH="/usr/local/bin:/usr/local/sbin:$PATH"`
4. Install Python 3.7 `brew install python`
5. Add Python 3.7 Directory to Path `export PATH="/usr/local/opt/python/libexec/bin:$PATH"`
6. Install virtualenv `pip install virtualenv`
7. Create A Python 3.7 Virtual Environment `virtualenv -p /usr/local/bin/python venv`
> use `python --version` to see which version python you got installed.
8. Activate The Virtual Environment `source venv/bin/activate`
9. Change Directory To Applications `cd /Applications`
10. Get Bazarr `git clone https://github.com/morpheus65535/bazarr.git`
11. Change Directory To bazarr `cd bazarr`
12. Install bazarr requirements `python3 -m pip install -r requirements.txt`
13. install ffmpeg `brew install ffmpeg` (could take some time)
14. Run bazarr `Python3 bazarr.py`
To Run bazarr in future, open the Terminal, and Repeat steps 8, 9, 11, 14.
bazarr will run in this Terminal session. Closing the session will stop bazarr.
@ -121,7 +139,7 @@ Access bazarr via browser at https://localhost:6767/
------
### FreeBSD
Instruction as provided by @Derkades: and fixes by @sindreruud
Instruction as provided by @Derkades and fixes by @sindreruud
Disclaimer: I don't know how rc.d works so the script is pretty crappy and doesn't have start/stop/status functionality. It only starts the program on startup, which was enough for me.
@ -135,8 +153,7 @@ Disclaimer: I don't know how rc.d works so the script is pretty crappy and doesn
5. Install Python requirements using `pip install -r requirements.txt`
> If you get this error message: `pip: Command not found`, you can refer to [#642](https://github.com/morpheus65535/bazarr/issues/642).
> If you get this error message: `pip: Command not found`, you can refer to [#642](https://github.com/morpheus65535/bazarr/issues/642).
6. Check if it works `python3 bazarr.py`. You should see `BAZARR is started and waiting for request on http://0.0.0.0:6767/`