Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lichess-org/lila-fishnet

Proxy between lila and fishnet move clients
https://github.com/lichess-org/lila-fishnet

cats cats-effect chess fishnet functional-programming lichess typelevel

Last synced: 5 days ago
JSON representation

Proxy between lila and fishnet move clients

Awesome Lists containing this project

README

        

# Lila Fishnet

Proxy between lila and fishnet move clients

```
lila <-> redis <-> lila-fishnet <- http <- fishnet-clients
```

## Developement

Start:
```sh
sbt
```

Start with default config:
```sh
sbt app/run
```

Use environment variables to start with custom config (`redis.host` and `kamon` for example):
```sh
REDIS_HOST=redis KAMON_ENABLED=true CONFIG_FORCE_kamon_influxdb_port=8888 sbt app/run
```

For other `config` check [AppConfig.scala](https://github.com/lichess-org/lila-fishnet/blob/master/app/src/main/scala/AppConfig.scala)

Run all tests (required Docker for IntegrationTest):
```sh
sbt app/test
```

Run a single test:
```sh
sbt app/testOnly lila.fishnet.ExecutorTest
```

Run code format and auto code refactor with scalafmt & scalafix:
```sh
sbt prepare
```

### release

```bash
sbt release with-defaults
```