главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorIvan Davydov <lotigara@lotigara.ru>2025-03-23 16:07:46 +0300
committerIvan Davydov <lotigara@lotigara.ru>2025-03-28 10:41:24 +0300
commita0f5891f7ebaef61c8ea362b4540d027f633849d (patch)
tree97571e7e46bf06af8d2f005ffbc54ca7a4aeb79d /run.sh
parent553e884a45de6f67fb842dd281c662db1000cce3 (diff)
Big refactorHEADmain
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.
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/run.sh b/run.sh
deleted file mode 100755
index 4af2e93..0000000
--- a/run.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-# Setup systemd
-sudo cp ~/LibreTranslate-init/libretranslate.service /etc/systemd/system/
-sudo systemctl start libretranslate
-sudo systemctl enable libretranslate
-# sudo systemctl status libretranslate
-
-# Configure Nginx
-sudo cp ~/LibreTranslate-init/nginx /etc/nginx/sites-available/default
-sudo nginx -t
-sudo systemctl restart nginx
-