forked from Fiedzia/Fang-of-Mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
26 lines (20 loc) · 1.07 KB
/
INSTALL
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.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