Minor updates to README
This commit is contained in:
parent
73eafb0251
commit
34d65c8d51
|
@ -29,11 +29,13 @@ templates and static directories:
|
||||||
```sh
|
```sh
|
||||||
./gtranslate \
|
./gtranslate \
|
||||||
--template-dir /usr/share/webapps/gtranslate/templates \
|
--template-dir /usr/share/webapps/gtranslate/templates \
|
||||||
--static-dir /usr/share/webapps/gtranslate/static
|
--static-dir /usr/share/webapps/gtranslate/static
|
||||||
```
|
```
|
||||||
|
|
||||||
Other settings (available via `./gtranslate --help`:
|
Other settings (available with `./gtranslate --help`):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Usage of ./gtranslate:
|
||||||
-b, --bind string Address to bind the server to, [addr]:port (default ":5000")
|
-b, --bind string Address to bind the server to, [addr]:port (default ":5000")
|
||||||
--proxy string Proxy URL, with no scheme http is assumed
|
--proxy string Proxy URL, with no scheme http is assumed
|
||||||
--static-dir string Static files directory (default "./static")
|
--static-dir string Static files directory (default "./static")
|
||||||
|
@ -44,7 +46,8 @@ Other settings (available via `./gtranslate --help`:
|
||||||
If you want to proxy requests through Tor network, it's a good idea to
|
If you want to proxy requests through Tor network, it's a good idea to
|
||||||
set User-Agent of Tor Browser so it will be harder to identify such
|
set User-Agent of Tor Browser so it will be harder to identify such
|
||||||
servers:
|
servers:
|
||||||
```
|
|
||||||
|
```sh
|
||||||
./gtranslate \
|
./gtranslate \
|
||||||
--user-agent "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0" \
|
--user-agent "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0" \
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue