Skip to content
Browse files

update README

  • Loading branch information...
1 parent 60b4c32 commit a0f673d4cbe4684228ebdae4c018420432d2782f @JerrySievert committed
Showing with 40 additions and 1 deletion.
  1. +40 −1 README.md
View
41 README.md
@@ -1 +1,40 @@
-See http://legitimatesounding.com/blog/
+# Mongoloid
+
+Mongoloid is an experimental MongoDB clone being built on top of PLV8 and Postgres.
+
+## Implemented (so far)
+
+* create_collection()
+* find()
+* save()
+* runCommand() (Map/Reduce)
+
+## Installing
+
+Install PLV8 - http://code.google.com/p/plv8js/wiki/PLV8
+
+I recommend installing V8 via these instructions: http://code.google.com/p/v8/wiki/BuildingWithGYP
+
+
+ $ psql yourdb < create_collection.sql
+ $ psql yourdb < whereclause.sql
+ $ psql yourdb < save.sql
+ $ psql yourdb < find.sql
+ $ psql yourdb < mapreduce.sql
+
+## Importing the data
+
+I have included a modest amount of data for testing and benchmarking, both for Postgres and for MongoDB (1,706,873 rows).
+
+Importing into Postgres:
+
+ $ psql yourdb < data/cities.sql
+
+This will create the collection and `save()` all of the data.
+
+Importing into MongoDB
+
+ $ mongoimport --collection cities --type csv --headerline --file data/cities.csv --db yourdb
+
+
+Follow along at http://legitimatesounding.com/blog/

0 comments on commit a0f673d

Please sign in to comment.
Something went wrong with that request. Please try again.