Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deployment] Error "You need to fix django's settings." #43

Closed
gcala opened this issue Jan 15, 2012 · 3 comments
Closed

[deployment] Error "You need to fix django's settings." #43

gcala opened this issue Jan 15, 2012 · 3 comments

Comments

@gcala
Copy link

gcala commented Jan 15, 2012

Hi, first of all sorry if this isn't the right place where post deployment issues but I was unable to find a forum/mailing list. If any, tell me.

My problem: I'm using Chakra Linux (Archlinux derivate); I've installed all required packages (mongodb, django, celery, mysql, etc).

Now, when I start installation with 'python fabfile.py' I got the following error:

[gcala@chakra NewsBlur]$ python fabfile.py
---> You need to fix django's settings. Enter python and type import settings.

that should be related to django and S3. If I run, as suggested, import settings from python console I read:

import settings
Traceback (most recent call last):
File "", line 1, in
File "settings.py", line 449, in
from local_settings import *
ImportError: No module named local_settings

Does NewsBlur require Amazon S3 account? I have to setup django (which I dunno) before installing NB?

@samuelclay
Copy link
Owner

You just need to copy local_settings.py.template to local_settings.py. It's a common django idiom that probably could be spelled out in more detail on the installation steps. Let me know if you run into any other issues. I'd love to help, since if you're running into issues, chances are somebody else is too. No issue is too small, and I should be here all day, so write in any other blocks.

@gcala
Copy link
Author

gcala commented Jan 16, 2012

Unfortunately I got the same error 'You need to fix django's settings...'

Here what I did:

  • installed dependencies
  • cloned git to /tmp
  • cd into /tmp/NewsBlur
  • cp local_settings.py.template local_settings.py
  • python fabfile.py
  • ERROR

I'm missing further steps?

Thanks

@samuelclay
Copy link
Owner

You'll want to enter the python REPl and just type import settings to get at the error.

Also, to use any of the fabric commands, you want to install fabric and use fab setup_common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants