This project provides a starting point for your own spray-routing and web sockets endeavours.
Follow these steps to get started:
-
Git-clone this repository.
$ git clone git://github.com/cuali/SprayEasterEggs.git my-project -
Change directory into your clone:
$ cd my-project -
Launch SBT:
$ sbt -
Compile everything and run all tests:
> test -
Start the application:
> re-start -
Browse to http://localhost:9692/
- Call your friends or colleagues to access your server.
- Open more tabs in your browser to http://localhost:9692/hide
-
Stop the application:
> re-stop -
Learn more at http://www.spray.io/
-
Start hacking on
src/main/scala/cua/li/reactive/ReactiveSystem.scala