@@ -6,17 +6,17 @@ Sleepy.Mongoose is a REST interface for MongoDB.
6
6
7
7
You need 3 things installed:
8
8
9
- 1 . MongoDB, which can be downloaded from [ http://www.mongodb.org ] ( http://www.mongodb.org ) .
9
+ 1 . MongoDB, which can be downloaded from
10
+ [ http://www.mongodb.org ] ( http://www.mongodb.org ) .
10
11
11
- 2 . Pymongo, the MongoDB python driver. You can install this with easy_install:
12
+ 2 . Pymongo, the MongoDB python driver. Sleepy.Mongoose requires pymongo version
13
+ 1.4 or greater. You can install this with easy_install:
12
14
13
15
$ sudo easy_install pymongo
14
16
15
- Sleepy.Mongoose requires pymongo version 1.4 or greater.
16
-
17
17
3 . The Python JSON package, which can also be installed with easy_install:
18
18
19
- $ sudo easy_install json
19
+ $ sudo easy_install python- json
20
20
21
21
## RUNNING
22
22
@@ -49,8 +49,8 @@ You should make sure any options are URL escaped. You can easily do this with
49
49
any JavaScript shell, including the mongo shell.
50
50
51
51
For example, to query for ` {"x" : 1} ` , we have the string ` '{"x" : 1}' ` . We run
52
- ` escape('{"x" : 1}') ` and get ` "%7B%22x%22%20%3A%201%7D" ` . We can now paste this beautful
53
- string into our URL:
52
+ ` escape('{"x" : 1}') ` and get ` "%7B%22x%22%20%3A%201%7D" ` . We can now paste
53
+ this beautful string into our URL:
54
54
55
55
http://localhost:27080/website/users/_find?criteria=%7B%22x%22%20%3A%201%7D
56
56
0 commit comments