@@ -5,14 +5,14 @@ It uses the mgo driver, but aims at simplifying the queries to the database
## Mongo Manager ##
The struct handling the connection is MongoManager. It requires the environment variable MONGOHQ_URL in order to initialize a connection : it is the uri containing the informations to connect to mongo.
The struct handling the connection is MongoManager. It requires an uri in order to initialize a connection : it is the uri containing the informations to connect to mongo.
For example, in a test environment, we may have :
MONGOHQ_URL=localhost (require a mongo instance running on default port 27017)
uri=localhost (require a mongo instance running on default port 27017)
In a prod environment however, it will more likely be :