add bin/dev.default script for easier onboarding

pull/1750/head
Thibault Duplessis 2016-03-20 18:21:23 +07:00
parent a6da0af122
commit fee46a0478
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
conf/application.conf
bin/dev
logs
project/project
project/target

11
bin/dev.default 100644
View File

@ -0,0 +1,11 @@
#!/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
export JAVA_OPTS="-Xms1536M -Xmx1536M -Dkamon.auto-start=true"
# Hide pesky reboot exceptions
sbt -Dhttp.port=9663 "$@" 2> /dev/null