Skip to content

Commit

Permalink
Mention lila-gitpod to run a lila instance in the setting_dev_env doc…
Browse files Browse the repository at this point in the history
…umentation
  • Loading branch information
julien4215 committed Jan 22, 2025
1 parent f7369cc commit daecf84
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion docs/setting_dev_env.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ instance to work on this project.

If you work with a local lila, you will also need to setup [lila-ws](https://github.com/lichess-org/lila-ws) (websocket server).

### lila-gitpod

The fastest and most straight-forward way to run you own lila is [lila-gitpod](https://github.com/lichess-org/lila-gitpod).

### lila-docker

The fastest and most straight-forward way to get started is using [lila-docker](https://github.com/lichess-org/lila-docker).
If you have Docker installed on your system, you will probably prefer to use [lila-docker](https://github.com/lichess-org/lila-docker).

### Local lila server (manual installation)

Expand Down Expand Up @@ -168,6 +172,24 @@ flutter run \
### Android

#### When using lila-gitpod

To access the lila instance from your device, you will need to make the port 8080 public. You can do so by running this command in your Gitpod workspace:

```bash
./lila-docker public
```

Then you can run the application with:

```bash
flutter run \
--dart-define=LICHESS_HOST=[lila_gitpod_host] \
--dart-define=LICHESS_WS_HOST=[lila_gitpod_host]
```

To find the host of your lila Gitpod instance, use the command `gp url 8080`. Just be careful to not include the full url in the hosts variables, you need to remove the https:// from the url.

#### When using lila-docker

When using [lila-docker](https://github.com/lichess-org/lila-docker), the easiest solution is to use the adb reverse command:
Expand Down

0 comments on commit daecf84

Please sign in to comment.