# How to build a module?

  1. Enter sbt shell, navigate to the respective module using project command

  2. run command compile

    [Lottery] $ project LotteryDomain
    [info] Set current project to LotteryDomain ...
    [LotteryDomain] compile
    

Alternately, use the / operator along with module name followed by the command:

[Lottery] $ LotteryDomain/compile