Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 1.07 KB
Fang of Mongo (Fom) requirements:
1. python, pythons-setuptools
2. django
3. pymongo (mongo bindings for python)
4. access to mongodb
Ubuntu 10.10 shortcut for getting it all:
sudo aptitude install python-setuptools mongodb python-django python-pymongo
For earlier releases use easy_install to get pymongo:
sudo easy_install pymongo
and see http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages to install mongo
If you want some sample database content to play with,
Fom comes with freedb.org music album collection in json format suitable to use with mongoimport,
located in fangofmongo/fangofmongo/tools/sampledata/freedb.json.
I am using it on linux, but there is a chance that any unix-like os will work as well.
to install Fom, just unpack source somwhere,
go to fangofmongo directory and run:
python ./manage.py runserver
now point your browser to http://localhost:8000/fangofmongo/
If you have installed mongodb locally then just click proceed and enjoy it
You may also set TIMEZONE in settings.py to make sure dates are processed correctly on django site
Something went wrong with that request. Please try again.