Skip to content

lichess-org/lila-fishnet

Lila Fishnet

Proxy between lila and fishnet move clients

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

Developement

Start:

sbt

Start with default config:

sbt app/run

Use environment variables to start with custom config (redis.host and kamon for example):

REDIS_HOST=redis KAMON_ENABLED=true CONFIG_FORCE_kamon_influxdb_port=8888 sbt app/run

Or creating an .env file with environment variables, for example:

cp .env.example .env

For other config check AppConfig.scala

Run all tests (required Docker for IntegrationTest):

sbt app/test

Run a single test:

sbt app/testOnly lila.fishnet.ExecutorTest

Run code format and auto code refactor with scalafmt & scalafix:

sbt prepare

release

sbt release with-defaults