From a6ac2ed41dc7ae3a5cc8e885cc0de67bb6e4613e Mon Sep 17 00:00:00 2001 From: "P.J. Finlay" Date: Sat, 17 Jul 2021 13:09:16 -0500 Subject: Use virtualenv --- setup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index 8743017..15781e0 100755 --- a/setup.sh +++ b/setup.sh @@ -17,12 +17,11 @@ git clone https://github.com/LibreTranslate/LibreTranslate.git ~/LibreTranslate # Setup virtualenv virtualenv ~/LibreTranslate/env -source ~/LibreTranslate/env/bin/activate # Install gunicorn -pip install gunicorn +~/LibreTranslate/env/bin/pip install gunicorn # Install and run LibreTranslate on port 5000 -pip install -e ~/LibreTranslate/ -libretranslate +~/LibreTranslate/env/bin/pip install -e ~/LibreTranslate/ +~/LibreTranslate/env/bin/libretranslate -- cgit v1.2.3