You can use the sbt or IntelliJ IDEA to run the project.
The server should be started in the main method like so (see Tutorial section for more information):
Afterwards, in the terminal, start your sbt shell:
@main def start: Unit = Server().addService("/", homePage).start()
In your sbt shell, type run to run the main method
Alternatively, use "Run" function in IntelliJ IDEA to start the server.Last modified on 25/10/2022, 2:25 pm