I'm using twitter bootstrap and django. I've got my dependencies handled with a pip requirements file.
I've got 2 questions:
- How can I use less while I'm developing so it'll get compiled when I edit one of my less files?
- How can I create some kind of build script that will compress and combine my JS and generate CSS from Less as part of a deployment?
I've written a custom build script that creates a virtualenv, runs 'pip install -r requirements.txt', django syncdb, django migrate and then off we go.
What's the easiest way of integrating less into this?
Thanks
question from:
https://stackoverflow.com/questions/8726610/how-to-use-less-css-with-django 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…