mai/mai.ini.5
yakumo.izuru b860f0610b Fix bugs, many other changes
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/mai/trunk@67 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
2024-02-07 00:26:14 +00:00

38 lines
862 B
Groff

.Dd $Mdocdate$
.Dt MAI.INI 5
.Os
.Sh NAME
.Nm mai.ini
.Nd Configuration file for Mai
.Sh OPTIONS
.Ss [mai] section
.Bl -tag -width 11n
.It listen
HTTP port for the server to listen.
Default is "localhost:5000"
.It static
Directory where the static resources are located.
Default is "./static"
.It templates
Directory where the templates are located.
Default is "./views"
.El
.Sh ENVIRONMENT
.Bl -tag -width 11n
.It Ev MAI_LIBRETRANSLATE_INSTANCE
LibreTranslate instance to use, it's required for the engine to work.
.It Ev MAI_LIBRETRANSLATE_API
LibreTranslate API key for the above setting, it may or
may not be required, depending on the instance.
.El
.Sh FILES
.Pa /usr/local/etc/mai/mai.ini
.Sh SEE ALSO
.Xr mai 1
.Sh AUTHORS
.An fattalion
.An metalune
.An ManeraKai Lk https://manerakai.com
.Sh MAINTAINERS
.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja