главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 18802c6..f951875 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,6 @@ Run LibreTranslate on Ubuntu 20.04.
Uses [LibreTranslate WSGI](https://community.libretranslate.com/t/is-wsgi-currently-supported/24/3) with [Gunicorn and Nginx](https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04).
```
-
# Add argosopentech user
useradd argosopentech
mkdir /home/argosopentech
@@ -21,6 +20,12 @@ sudo swapon --show
# Download and run LibreTranslate-init
git clone https://github.com/argosopentech/LibreTranslate-init.git ~/LibreTranslate-init
+
+# Run LibreTranslate on port 5000
~/LibreTranslate-init/setup.sh
+# Run LibreTranslate WSGI with nginx and systemd
+~/LibreTranslate-init/run.sh
+
```
+