1
0
Fork 1

Lila ssh connect

main
jebba 2021-12-22 15:18:33 -07:00
parent 7cef4b85e0
commit adea16c746
1 changed files with 28 additions and 1 deletions

View File

@ -1518,7 +1518,6 @@ Run Lila thusly, from the `lila` prompt, after compiling above.
```
[lila] $ run
```
After a minute or so, you should have output similar to this:
@ -1536,12 +1535,40 @@ After a minute or so, you should have output similar to this:
[info] boot - Loaded lila modules in 7217 ms
[info] play.api.Play - Application started (Dev) (no global state)
[info] p.c.server.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9663
[info] reactivemongo.api.Driver - [Supervisor-1] Creating connection: insight
[info] e.r.StaticListenerBinder - Starting connection listener ...
[info] r.c.actors.MongoDBSystem - [Supervisor-1/insight] Starting the MongoDBSystem
[info] r.core.netty.Pack - Instantiated reactivemongo.core.netty.Pack
```
If you are at this point, the Lila server is now running, but the
full setup isn't complete.
## Connect to Lila via SSH Tunnel
The Lila server is now running, but can only be tested via `localhost`
since it hasn't been configured yet. You can set up an SSH tunnel
on your workstation to connect to the server. For example, open a new
terminal on your workstation and run this, using the name of your
server in your `~/.ssh/config` file.
```
ssh -N -C -L 9663:localhost:9663 mychestserver
```
Note, this command will just "hang" and not necessarily return
any output. When you want to end the tunnel, just hit
`CTRL-c` and it will stop.
Now the tunnel is up, you can access the Lila server via SSH
in your web browser. Go to this URL on your workstation:
* http://localhost:9663/
You should get the world famous lichess.org front page! :)
## Install lila-ws
* https://github.com/ornicar/lila-ws