From 72bbcfcfb731a106239f3c3a4c3e806b3c04caa9 Mon Sep 17 00:00:00 2001 From: "yakumo.izuru" Date: Wed, 18 Oct 2023 14:38:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=89=E3=82=AD=E3=83=A5=E3=83=A1=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=82=92=E5=BC=B7=E5=8C=96=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Izuru Yakumo git-svn-id: file:///srv/svn/repo/mai/trunk@52 e410bdd4-646f-c54f-a7ce-fffcc4f439ae --- README.md | 24 ++++++++++++++++++++++++ views/index.html | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da53bff..00a3d17 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,27 @@ A privacy friendly frontend to multiple translation engines. 1. SimplyTranslate was founded by [metalune and fattalion](https://codeberg.org/SimpleWeb/SimplyTranslate-Web). It was written in Python. 2. Fattalion created a Go implementation. 3. Both metalune and fattalion retired, and they handed SimplyTranslate over to ManeraKai. +4. Izuru Yakumo The Violet Hermit stole it + +### Installation + +```shell +% git clone https://git.chaotic.ninja/yakumo.izuru/simplytranslate +% cd simplytranslate +% make +# make install +``` + +### Setup +For [nginx](https://www.nginx.com) you can use this snippet, this also serves the static resources. + +```nginx +location / { + proxy_set_header Host $host; + proxy_pass http://localhost:5000; +} +location /static { + alias /path/to/static/files; + autoindex off; +} +``` diff --git a/views/index.html b/views/index.html index 9d80a77..589127a 100644 --- a/views/index.html +++ b/views/index.html @@ -128,7 +128,7 @@