diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,4 +1,22 @@ # LibreTranslate-init 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). +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 +chown argosopentech:argosopentech /home/argosopentech +cp -r ~/.ssh /home/argosopentech/.ssh +chown -R argosopentech:argosopentech /home/argosopentech/.ssh +passwd -d argosopentech +chsh -s /bin/bash argosopentech +usermod -aG sudo argosopentech +su argosopentech + +# Download and run LibreTranslate-init +git clone https://github.com/argosopentech/LibreTranslate-init.git ~/LibreTranslate-init +~/LibreTranslate-init/setup.sh + +``` |