Closed satyaakam closed 11 years ago
Have you MongoDB installed and configured?
I get python 2.4 no 2.7 follow install instructions
Please Help
@johnfelipe openmooc requires python 2.6 or 2.7, it doesn't work with python 2.4
Hi, please tell me /var/www/moocng/lib/python2.7/site-packages/moocng-X.Y.Z-py2.7.egg/moocng/local_settings.py, still appear.
It need install MongoDB? or with postgresql is enough?
Tnks
@jespino i am trying with Sqlite @johnfelipe you too can try with Sqlite once it runs then we can think of it
@johnfelipe @satyaakam It requires postgresql and mongodb, both of them. It may work with sqlite instead of postgresql, but we haven't tried it, so you are entering uncharted territory there :)
ok maye be its first lets see how far i can go.
ok let me update this ticket only now i get the following error "cannot import name LOOKUP_SEP"
i update python to 2.7 and install postgre and mongo db, but i dont find /var/www/moocng/lib/python2.7/site-packages/moocng-X.Y.Z-py2.7.egg/moocng/local_settings.py, please help me with that
TNks
i delete all and make new and i get /var/www/moocng/lib/python2.7/site-packages/moocng-0.0-py2.7.egg/moocng but file local setting is not, i create it with:
vim /var/www/moocng/lib/python2.7/site-packages/moocng-0.0-py2.7.egg/moocng/local_settings.py
and insert:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'moocng', 'USER': 'moocng', 'PASSWORD': 'secret', 'HOST': '', 'PORT': '', } }
(change pwd with user moocng)
Then, activate the virtualenv:
$ source /var/www/moocng/bin/activate And run the Django syncdb command to create the database schema:
$ django-admin.py syncdb --settings=moocng.settings --migrate
and get this error:
OperationalError: FATAL: Ident authentication failed for user "moocng"
Hi again:
in var/lib/pgsql/data/pg_hba.conf
local all all trust host all 127.0.0.1/32 trust local moocng moocng md5
but i get new error:
Hi i need upgrade postgresql
But i get other error with askbot, please help in https://github.com/OpenMOOC/askbot-openmooc/issues/4
Tnks
@satyaakam You solved the problem?
@pitbulk no not yet will look into it latter
No matter what i try i land up with this error
"cannot import name LOOKUP_SEP"
@satyaakam There says you are using Django 1.5, and it must be Django 1.4
ok sucess now , now i have a running instances on all the three DB's MySQL , PostGRES, and SQLite , let me document it when its fresh.
thanks for all the help
-Satya
@satyaakam I'm closing the issue due to your success.
Hi , i get the following http://dpaste.de/SYCa0/ errors after trying the install doc from here https://raw.github.com/OpenMOOC/moocng/master/docs/source/install.rst
-Satya