-
Notifications
You must be signed in to change notification settings - Fork 0
Installing
Jonathan Ross edited this page Jan 19, 2014
·
8 revisions
Trilby requires version 1.7.
% java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
If missing, follow installation instructions here.
Trilby requires version 0.13. Earlier versions will generate cryptic errors during the build.
% sbt --version
Loading /opt/sbt/bin/sbt-launch-lib.bash
sbt launcher version 0.13.0
If missing, follow installation instructions here. Sample procedure for Linux:
% cd /opt
% curl -s http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.tgz | gunzip | tar xf -
% PATH+=":/opt/sbt/bin"
% sbt --version
Loading /opt/sbt/bin/sbt-launch-lib.bash
sbt launcher version 0.13.0
Pick a work directory for the install / build. I'm using /opt; modify to suit. Then add the start script to your PATH.
% cd /opt
% git clone https://github.com/jonross/trilby
...
% cd trilby
% sbt compile start-script
...
% PATH+=":$(pwd)/launch"