Installing datacommons from sunlight

Posted by Newben on Ask Ubuntu See other posts from Ask Ubuntu or by Newben
Published on 2012-09-08T18:32:48Z Indexed on 2012/09/10 21:49 UTC
Read the original article Hit count: 206

Filed under:

I know strictly nothing from python and I am installing datacommons from the sunlightlabs. So I followed step by step the README.md https://github.com/sunlightlabs/datacommons

First, it is said in the doc to add to the virtualenv dc_data, dc_matcchbox but I didn't find them. But I went to the final step to run ./manage.py runserver so I had the following message :

(datacommons)newben@newben-VirtualBox:~/share-ubuntu/sunlightlabs-datacommons-e3ff1a3$ ./manage.py runserver
fatal: Not a git repository (or any parent up to mount parent /home/mbenchoufi)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Error: Can't find the file 'settings.py' in the directory containing './manage.py'. It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError somehow.)

In the 'sunlightlabs-datacommons-e3ff1a3' folder, I downloaded and put the files from github. By the way I didin't understand how to deal with the settings file.

Could someone help me understand how to install datacommons ?

© Ask Ubuntu or respective owner

Related posts about installation