-
Install and execute Cassandra (tested with version 2.0)
-
Launch CQL shell and create the necessary Keyspace and Table:
$ cqlsh > CREATE KEYSPACE url WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; > USE url; > CREATE TABLE urltable (id text PRIMARY KEY, longUrl text); > exit
-
Install and then launch SBT:
$ sbt
-
Compile everything and run all tests:
> test
-
Start the application:
> re-start
-
Make the web service requests at http://localhost:8080 (configurable in the file Boot.scala)
-
Stop the application:
> re-stop