I can't find local_settings.py

59 views
Skip to first unread message

BOUAZAZE Ali

unread,
Mar 10, 2014, 1:11:57 PM3/10/14
to open...@googlegroups.com
Hello everyone ... I really need your help
In the Step : Creating the database schema ... I had a probelm

I can't locate the file local_settings.py ... they sai that i can find it this path (var/www/moocng/lib/python2.7/site-packages/moocng-X.Y.Z-py2.7.egg/moocng/local_settings.py) but I didn't find it or even locate the directory moocng-X.Y.Z-py2.7.egg

Can You help me?


Im working on CentOs6.5

Alejandro Blanco

unread,
Mar 11, 2014, 3:22:57 AM3/11/14
to open...@googlegroups.com
Hi Ali.

I guess you are deploying it using the developer documentation. That docs are a bit outdated, the settings are no longer in the root of the project, but inside of the settings directory. In your case you can find them in: /var/www/moocng/lib/python2.7/site-packages/moocng/settings/

There you'll find a local.py.example that you can use to start building your own local.py file.

Regards.


--
You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openmooc/ecbcd464-e99f-4a9c-8716-b6186cc853da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alejandro Blanco <abl...@yaco.es>

 

Yaco Sistemas S.L. <http://www.yaco.es/>

C/ Rioja 5, 41001 Sevilla

BOUAZAZE Ali

unread,
Mar 11, 2014, 5:41:48 AM3/11/14
to open...@googlegroups.com
Hey Alejandro.

Thank you so much for your reply .

I did find the file local.py.example but not in the path that you gived me ... I found it here (var/www/moocng/moocng/moocng/settings)

is it okey or I must move the directoy (var/www/moocng/moocng/moocng/) to (/var/www/moocng/lib/python2.7/site-packages/)

Alejandro Blanco

unread,
Mar 11, 2014, 5:56:13 AM3/11/14
to open...@googlegroups.com
Everything depends on how has you deployed the project. If you did something like: 

python setup.py develop

Then it's fine where it is.


--
You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

BOUAZAZE Ali

unread,
Mar 11, 2014, 6:01:29 AM3/11/14
to open...@googlegroups.com

Thank you for your help Alejandro .

Regards.
Reply all
Reply to author
Forward
0 new messages