Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: fom_object
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (20 sloc) 1.06 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Fang of Mongo (Fom) requirements:

1. python, pythons-setuptools
2. django
3. pymongo (mongo bindings for python)
4. access to mongodb

Ubuntu 10.04 shortcut for getting it all:
    sudo aptitude install python-setuptools, mongodb, python-django
    sudo easy_install pymongo
older releases will require adding mongodb repository,
see http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages

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.