About
MongoDB Setup
To start mongo, open terminal and run:
mongod
Once that runs, open another terminal tab and run:
mongo
Java
Open another terminal tab, and pwd to the the java source files. Compile and run the java files using:
javac -cp mongo-2.10.1.jar Restfully.java
java -cp .:mongo-2.10.1.jar Restfully
Scala
We are using casbah to drive mongodb: https://github.com/mongodb/casbah
Download SBT (build tool): brew install sbt
cd to scala
directory where you will find build.sbt
sbt
will automatically install the dependencies, including scala!compile
run