Building from source
Metarank is written in Scala and uses an SBT build system. It can be built on Windows, Linux and MacOS in the following way:
Clone the
metarank/metarankrepo with your favourite git client.Install SBT, using its official installation manual for your OS.
From shell, run the
sbt assemblycommand, and metarank build will be built intotarget/scala-2.13/metarank.jar
$ sbt assembly
[info] welcome to sbt 1.7.1 (Eclipse Adoptium Java 11.0.15)
[info] loading global plugins from /home/code/.sbt/1.0/plugins
[info] loading settings for project metarank-build from plugins.sbt ...
[info] loading project definition from /home/code/metarank/project
[info] loading settings for project root from build.sbt ...
[info] set current project to metarank (in build file:/home/code/metarank/)
[info] compiling 28 Scala sources to /home/code/metarank/target/scala-2.13/classes ...
[info] compiling 24 Scala sources to /home/code/metarank/target/scala-2.13/classes ...
[success] Total time: 48 s, completed Aug 30, 2022, 3:40:06 PM
Building docker image
Docker image can be built the same way as the JAR bundle, with the following SBT command:
Last updated
Was this helpful?