Lesser fork of lichess.
https://spacecruft.org/deepcrayon/lila
![]() * master: (28 commits) el "Ελληνικά" translation #1339. Author: Anonymous. de "Deutsch" translation #1320. Author: Wimmerl. "Rangliste" is the best word for Leaderboard in German. lv "latviešu valoda" translation #1316. Author: Anonymous. pl "polski" translation #1306. Author: Sjalistra. sl "slovenščina" translation #1304. Author: Anonymous. nn "Norsk nynorsk" translation #1301. Author: bjagus. No I have contributed a lot all in all in new norwegian! nb "Norsk bokmål" translation #1300. Author: bjagus. fo "føroyskt" translation #1271. Author: Anonymous. da "Dansk" translation #1269. Author: Anonymous. cs "česky, čeština" translation #1268. Author: Anonymous. 164 and 142 added, 157 and 152 corrected hr "hrvatski" translation #1259. Author: Anonymous. uk "українськ" translation #1257. Author: Anonymous. nb "Norsk bokmål" translation #1254. Author: Anonymous. gl "Galego" translation #1252. Author: Anonymous. pt "Português" translation #1237. Author: Francisco Oliveira. tr "Türkçe" translation #1231. Author: bizdolapci. ar "العربية" translation #1230. Author: Red1. :) cs "česky, čeština" translation #1229. Author: Red1. :) hu "Magyar" translation #1217. Author: Anonymous. ru "русский язык" translation #1210. Author: walter1938. ... |
||
---|---|---|
app | ||
bin | ||
conf | ||
play@f99037e8e1 | ||
project | ||
public | ||
scalachess@0b6005b259 | ||
serve | ||
test | ||
uci | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
mongodb.md | ||
README.md | ||
todo |
lichess.org
Backend of http://lichess.org
- Scala 2.9 with Play2, Akka 2, Scalaz and Salat
- Scalachess
- MongoDB 2.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
Optional ulimit -n 99999
Restart on timeout
bin/prod/timeout-restarter