OpenMOOC / moocng

MOOC Engine
Apache License 2.0
88 stars 43 forks source link

Still error with install DOC #22

Closed satyaakam closed 11 years ago

satyaakam commented 11 years ago

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

jespino commented 11 years ago

Have you MongoDB installed and configured?

johnfelipe commented 11 years ago

I get python 2.4 no 2.7 follow install instructions

Please Help

ablanco commented 11 years ago

@johnfelipe openmooc requires python 2.6 or 2.7, it doesn't work with python 2.4

johnfelipe commented 11 years ago

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

satyaakam commented 11 years ago

@jespino i am trying with Sqlite @johnfelipe you too can try with Sqlite once it runs then we can think of it

ablanco commented 11 years ago

@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 :)

satyaakam commented 11 years ago

ok maye be its first lets see how far i can go.

satyaakam commented 11 years ago

ok let me update this ticket only now i get the following error "cannot import name LOOKUP_SEP"

http://dpaste.de/FhXCN/

johnfelipe commented 11 years ago

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

johnfelipe commented 11 years ago

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"

johnfelipe commented 11 years ago

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:

errorDjango syncdb

johnfelipe commented 11 years ago

Hi i need upgrade postgresql

But i get other error with askbot, please help in https://github.com/OpenMOOC/askbot-openmooc/issues/4

Tnks

pitbulk commented 11 years ago

@satyaakam You solved the problem?

satyaakam commented 11 years ago

@pitbulk no not yet will look into it latter

satyaakam commented 11 years ago

No matter what i try i land up with this error

"cannot import name LOOKUP_SEP"

http://dpaste.de/zv0id/

ablanco commented 11 years ago

@satyaakam There says you are using Django 1.5, and it must be Django 1.4

satyaakam commented 11 years ago

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

ablanco commented 11 years ago

@satyaakam I'm closing the issue due to your success.