From a0f5891f7ebaef61c8ea362b4540d027f633849d Mon Sep 17 00:00:00 2001 From: Ivan Davydov Date: Sun, 23 Mar 2025 16:07:46 +0300 Subject: Big refactor TL;DR: this commit makes README.md more simple and makes scripts more complex. This commit makes scripts look (and behave) like scripts. That is, they now contain shebangs, `echo` lines to allow user to watch the installation process. The latter is now more configurable: user can customize the directory, where LibreTranslate will be installed, username, which will be used to run LibreTranslate and the domain name configuration is now contained in the .env file, which used for all other settings. --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .env.example (limited to '.env.example') diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..56f006a --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +LT_DIR="/var/lib/libretranslate" +LT_USER="libretranslate" +# Change the value below! +LT_DOMAIN="lt.example.com" -- cgit v1.2.3