|
|
@ -75,8 +75,10 @@ form, facilitating translation from ancient languages.</p> |
|
|
|
$ lexis -h |
|
|
|
$ lexis -h |
|
|
|
Usage: |
|
|
|
Usage: |
|
|
|
CLI: lexis <text> |
|
|
|
CLI: lexis <text> |
|
|
|
WEB: lexis --serve [--port] |
|
|
|
WEB: lexis --serve [--port] [--host] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-host string |
|
|
|
|
|
|
|
Host to bind (default "127.0.0.1") |
|
|
|
-port int |
|
|
|
-port int |
|
|
|
Server port (default 9000) |
|
|
|
Server port (default 9000) |
|
|
|
-serve |
|
|
|
-serve |
|
|
@ -88,11 +90,11 @@ form, facilitating translation from ancient languages.</p> |
|
|
|
<pre> |
|
|
|
<pre> |
|
|
|
#1 |
|
|
|
#1 |
|
|
|
$ make serve |
|
|
|
$ make serve |
|
|
|
Server is started at port 9000 |
|
|
|
Server is started at 127.0.0.1:9000 |
|
|
|
|
|
|
|
|
|
|
|
#2 |
|
|
|
#2 |
|
|
|
$ lexis --serve [--port] |
|
|
|
$ lexis --serve [--port] [--host] |
|
|
|
Server is started at port 9000 |
|
|
|
Server is started at 127.0.0.1:9000 |
|
|
|
|
|
|
|
|
|
|
|
$ xdg-open http://localhost:9000 |
|
|
|
$ xdg-open http://localhost:9000 |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|