Closed aboutaaron closed 9 years ago
Not sure if this is related to this particular issue, but I found that while running on a mac which had mysql installed via homebrew, the following was required:
export C_INCLUDE_PATH=/usr/local/Cellar/mysql/5.6.19/include/mysql/
before running
pip install django-calaccess-campaign-browser
Huh, that's very interesting. Thank you for sharing. Any other problems in the install? I'm interested to hear more.
@palewire no errors per se, but I haven't done much django before so I'm a little confused about what the quickest way to get something up and running is.
I was reading the How to use it docs and got to
$ pip install django-calaccess-campaign-browser
Add this campaign_finance app as well as the underlying calaccess app that contains the raw government database it will work with to refine to your Django project’s settings.py file:
but by that it sounds like I should have a preexisting Django project to add this too, and I don't have one. I wonder if it would make sense to have a little github project for a starter Django app that already has INSTALLED_APPS
set correctly in the settings file, or just a pointer in the documentation to instructions on how to get started with the Django app.
It's not conventional for Django apps to include all that extra code, but I think you're right that the instructions should either explain how to create a starter "project" or at least link to one of the zillion other places on the web that do a good job explaining it. I'll make a ticket.
I think we've got a good running start for this over at the new bootstrap repository so I'm going to close this and assume we'll continue this work over there.
install.sh
script to install all the dev tools required