chore: update installation instruction

This commit is contained in:
2024-12-02 23:10:36 +00:00
parent 95c6bbb54a
commit 0c2ceb3bd0

View File

@@ -45,6 +45,12 @@ i am open to feature requests. however, limited time/effort will be spent on thi
> [!IMPORTANT]
> Before installing tesseract, make sure that your machine has docker installed.
Run the following command:
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/kennethnym/tesseract/refs/heads/master/scripts/install.sh)"
```
The installation script will install tesseract to `/opt/tesseract/`. To start tesseract, run the `tesseract` binary,
which runs tesseract in foreground.
@@ -52,7 +58,7 @@ You can also run tesseract in the background:
```shell
cd /opt/tesseract
nohup ./tesseract > /var/log/tesseract.log 2>&1 &
nohup ./tesseract > ~/tesseract.log 2>&1 &
```
Write down the PID so that you can kill it later.