ducin
ducin

Reputation: 26457

django installing dependencies from git

Is there any way to tell django to install some dependencies through external repositories? For example, I'd not like to keep twitter-bootstrap code downloaded into my repository, I'd like to define a github link and fetch it automatically through a shell command. Something silimiar to collectstatic. I know I can write my own, but maybe there's something built-in or already implemented?

Upvotes: 1

Views: 249

Answers (1)

krasnoperov
krasnoperov

Reputation: 353

Python modules you can install directly from git. For example: pip install -e git+git://github.com/jschrewe/django-genericadmin.git

For frontend modules you can use tools like bower. For installing Twitter Bootstrap: bower install bootstrap

Both tools has config files, which can be used to track dependencies.

Upvotes: 1

Related Questions