title: How to build, compile and run a Scala project?
body: <p>I would like to evaluate a Scala project that I have found on Github, namely <a href="https://github.com/MEM0R1ES/TRank" rel="nofollow">TRank</a>.</p>
  
  <p>I found the build file <code>build.sbt</code>. I managed to install Scala and sbt via homebrew and then run the command <code>sbt run</code> on the project root folder. Doing so ended up with an error:</p>
  
  <pre><code>java.lang.RuntimeException: No main class detected.
      at scala.sys.package$.error(package.scala:27)
  </code></pre>
  
  <p>Now the project files are in the <code>src/main/scala/io/mem0r1es/trank</code> and when I try to compile via <code>scalac</code> or run <code>sbt run</code> there I get a bunch of errors about objects not being members of the base packaged i.e. <code>object ranking is not a member of package io.mem0r1es.trank</code></p>
  
  <p>I would greatly appreciate some help knowing how to run this Scala project.</p>