Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading