diff options
author | P.J. Finlay <pjappdevelopment@gmail.com> | 2021-07-17 13:09:16 -0500 |
---|---|---|
committer | P.J. Finlay <pjappdevelopment@gmail.com> | 2021-07-17 13:09:16 -0500 |
commit | a6ac2ed41dc7ae3a5cc8e885cc0de67bb6e4613e (patch) | |
tree | acd8a4692dbda35b5ec4de83d21dca89cc247295 /setup.sh | |
parent | 0f0f230f2a689380e7e085b5f9a7937e3836be11 (diff) |
Use virtualenv
Diffstat (limited to 'setup.sh')
-rwxr-xr-x | setup.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |