Django And Mongodb
Using Django with MongoDb (on MacOs X for dev)
Aug21'2010
-
Django is already within my Pinax VirtualEnv
-
install mongo into
/usr/local/
- thencd
into themongo-db...
subdirectory -
working off http://rezmuh.sixceedinc.com/2010/02/create-a-simple-app-with-django-and-mongodb-part-1.html
-
see previous http://rezmuh.sixceedinc.com/2010/02/basic-commands-to-get-you-started-with-mongodb.html
-
create mongoticket project and ticket app
-
create mongo db
ticket
with user/pwdummy
...-
mkdir -p /data/db/
thenbin/mongod --fork --logpath ./mongodb.log --logappend
-
argh after
> db.addUser('dummy, 'dummy')
get just...
prompt (?)- ah, copied his typo missing a single-quote. Now good.
-
-
Aug26 - hmm, am I going to run into issues at Blue Host? Good, apparently not.
- also worth noting some common error messages.
Sept'2010 - decide this is a distraction, going to go back to straight Django.
Sept27 - working just with MongoDb for now to get the data model I like...
Edited: | Tweet this! | Search Twitter for discussion