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

Step for static assets on CDN missing some dependencies #8

Closed
clebio opened this issue Apr 3, 2016 · 3 comments
Closed

Step for static assets on CDN missing some dependencies #8

clebio opened this issue Apr 3, 2016 · 3 comments

Comments

@clebio
Copy link

clebio commented Apr 3, 2016

When you get to the step

./manage.py collectstatic 

you'll need Django installed. Using a Python virtualenv, something like

mkvirtualenv django
pip install django

Unfortunately, you also need psycopg2 which suffers from the leaky abstraction of needing Postgres in the host OS. So, on a mac, you also need to do

brew install postgresql
pip install psycopg2

Woe unto you if you also need to go install Homebrew.

@hnarayanan
Copy link
Owner

(I pity the fool.)

Thank you for pointing this out. 👍 I knew this would pop up sooner or later, and I'll augment the docs to reflect this.

@hnarayanan
Copy link
Owner

I think I fixed it in a reasonably elegant fashion. Please reopen this if it is not sufficient.

@clebio
Copy link
Author

clebio commented Apr 3, 2016

I like it. Well played!

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

No branches or pull requests

2 participants