mozilla / spade

Automated scraping markup+CSS from a list of relevant URLs, using a variety of user-agent strings. Provides reporting on usage of CSS properties and apparent user-agent sniffing.
22 stars 9 forks source link

Fix vendor lib #1

Closed carljm closed 12 years ago

carljm commented 12 years ago

Hi Sam,

The vendor lib shouldn't be git-ignored, actually the point of it is that it comes along with the repo and IT (or other devs) don't have to install that stuff themselves.

I also added the necessary magic in spade/vendor.py (and called it from manage.py) to actually activate the vendor lib (make it available on sys.path).

Also added MySQLdb to the compiled requirements, and fixed the gitignore path for the local settings file.

samliu commented 12 years ago

cool thanks!

samliu commented 12 years ago

hm wait should the gitignore be there for local settings? I did that so that my local settings wouldn't get committed, and instead I'm opting to commit a local.sample.py which should be renamed to local.py?

carljm commented 12 years ago

Yeah, that's the right way - local.sample.py gets committed, and just gives people somewhere to start with for their local settings (some clue as to what they might need to set, it's a form of documentation). local.py is per-deployment and is git-ignored.