главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorP.J. Finlay <pjappdevelopment@gmail.com>2021-07-17 13:09:16 -0500
committerP.J. Finlay <pjappdevelopment@gmail.com>2021-07-17 13:09:16 -0500
commita6ac2ed41dc7ae3a5cc8e885cc0de67bb6e4613e (patch)
treeacd8a4692dbda35b5ec4de83d21dca89cc247295 /setup.sh
parent0f0f230f2a689380e7e085b5f9a7937e3836be11 (diff)
Use virtualenv
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh7
1 files changed, 3 insertions, 4 deletions
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