13 lines
453 B
Bash
13 lines
453 B
Bash
#!/bin/sh
|
|
|
|
# Starts a dev console to compile and run lichess.
|
|
# To edit this file, copy it to bin/dev: it's not indexed by Git.
|
|
# cp bin/dev.default bin/dev
|
|
# chmod +x bin/dev
|
|
# ./bin/dev
|
|
|
|
# Yes it needs tons of memory. Go for 2048M if you have them.
|
|
export JAVA_OPTS="-Xms1536M -Xmx1536M -XX:ReservedCodeCacheSize=64m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+ExitOnOutOfMemoryError -Dkamon.auto-start=true"
|
|
|
|
sbt -Dhttp.port=9663 "$@"
|