- Clone the repo:
git clone https://github.com/charlescd/xke-akka-http.git
bin/activator
to enter in the sbt console and then:test
to run the test suitere-start
to run the serverre-stop
to stop it
If you only need to compile, in the sbt console:
compile
to compile the codetest:compile
to compile the tests
The exercise in split in steps. Each step has a dedicated branch step-X. The branch master is the step 0.
Navigate between steps with git checkout step-X
.
- The step 0 asks you to complete the files Main.scala and Routes.scala. Then, run the tests and check if it's all green.
- Once done, go to step-1 and complete the Routes.scala etc.
- The file Main.scala only needs to be modified in step 0.