From 0c2ceb3bd028e3c70c21d14d5fd6437113d9e6c1 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Mon, 2 Dec 2024 23:10:36 +0000 Subject: [PATCH] chore: update installation instruction --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7720370..fc339a1 100644 --- a/README.md +++ b/README.md @@ -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.