Lesser fork of lichess. https://spacecruft.org/deepcrayon/lila
Go to file
2012-08-05 21:19:07 +02:00
app notify the user when the analysis is ready 2012-08-05 21:19:07 +02:00
bin fix gitignore and rsync_exclude 2012-08-04 22:15:51 +02:00
cli/src/main/scala implement user-track command 2012-08-05 18:55:31 +02:00
conf el "Ελληνικά" translation #476. Author: N.K.. Many improvements. I corrected some HORRIBLE typos and mistakes and also changed the phrasing to increase consistency. I also capitalised the words White and Black. There is still room for improvement, but it's much, much better now. Frankly, judging from some appalling grammatical mistakes, I believe that the translations should be locked and only verified Greek speakers should be permitted to edit again... 2012-08-05 18:58:47 +02:00
play@f99037e8e1 add play 2.1 as a submodule 2012-08-01 10:39:11 +02:00
project upgrade guava to 13.0 2012-08-04 20:50:25 +02:00
public notify the user when the analysis is ready 2012-08-05 21:19:07 +02:00
scalachess@6caa89cb81 upgrade scalachess to latest master 2012-07-30 11:57:06 +02:00
serve Use the /serve directory to expose large files with the webserver 2012-05-29 00:33:28 +02:00
test tweak featured game elo heuristic 2012-06-24 19:53:08 +02:00
uci add uci spec 2012-06-19 00:32:48 +02:00
.gitignore fix gitignore and rsync_exclude 2012-08-04 22:15:51 +02:00
.gitmodules add play 2.1 as a submodule 2012-08-01 10:39:11 +02:00
LICENSE Add MIT license 2012-06-17 23:53:38 +02:00
README.md complete previous commits 2012-08-01 23:41:56 +02:00
todo notify the user when the analysis is ready 2012-08-05 21:19:07 +02:00

lichess.org

Backend of http://lichess.org

  • Scala 2.9 with Play2, Akka 2, Scalaz and Salat
  • Scalachess
  • MongoDB 2

Installation

This is full-stack application, not a library, and it may not be straightforward to get it fully running. I assume you run a Unix with mongodb.

Some steps of the installation will trigger a download of the galaxy. It will take ages.

git clone git://github.com/ornicar/lila
cd lila
git submodule update --init
bin/build-play2
bin/play compile

Configuration

cp conf/local.conf.dist conf/local.conf

conf/local.conf extends conf/base.conf and can override any value. Note that conf/local.conf is excluded from git index.

Run it

Launch the play console using your local configuration:

bin/play

From here you can now run the application (run). Open your web browser at localhost:9000.

To run the test, use test.

Production

Register as daemon on archlinux

cd /etc/rc.d
sudo ln -s /path/to/lila/bin/prod/archlinux/rc.d/lila ./
cd /etc/conf.d
sudo ln -s /path/to/lila/bin/prod/archlinux/conf.d/lila ./
  • Configure the daemon in /etc/conf.d/lila
  • Add lila to DAEMONS in /etc/rc.conf

Restart on timeout

bin/prod/timeout-restarter