Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7722373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:09:17+00:00 2026-06-01T04:09:17+00:00

What are common and convenient ways for projects that are using jquery or bootstrap

  • 0

What are common and convenient ways for projects that are using jquery or bootstrap to install these dependencies?

I’m writing a web application that is using Django at a server side and jquery and bootstrap at a client side. The topic of automatically installing Python dependencies is quite well covered, there are at least two reasonable options (Pip and Buildout). But I can’t find any information how to best install the front end dependencies.

The ultimate goal is to configure development environment with just two commands:
1. git checkout
2. setup that downloads and install all dependencies: Python stuff + jquery + bootstrap.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:09:19+00:00Added an answer on June 1, 2026 at 4:09 am

    Most front end JavaScript libraries should be included by reference in your HTML, so there is no need download/install it. If you plan to modify JavaScript libraries, you will have to host the modified code yourself.

    So in your case you could use Google Libraries API to load jquery like so:

    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">google.load("jquery", "1.7.1");</script>
    

    Most sites keep their customized Bootstrap assets in their own repository, and host them directly. Bootstrap customization is described at http://twitter.github.com/bootstrap/download.html. Bootstrap loading code should look something like this:

    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="/static/src/bootstrap_base.js"></script>
    <!--    <script src="/static/bootstrap/js/jquery.js"></script>  -->
    <!--    <script src="/static/bootstrap/js/bootstrap-transition.js"></script> -->
    <script src="/static/bootstrap/js/bootstrap-alert.js"></script> 
    <script src="/static/bootstrap/js/bootstrap-modal.js"></script>
    <script src="/static/bootstrap/js/bootstrap-dropdown.js"></script> 
    <!--    <script src="/static/bootstrap/js/bootstrap-scrollspy.js"></script> -->
    <script src="/static/bootstrap/js/bootstrap-tab.js"></script> 
    <!--    <script src="/static/bootstrap/js/bootstrap-tooltip.js"></script> -->
    <!--    <script src="/static/bootstrap/js/bootstrap-popover.js"></script> -->
    <script src="/static/bootstrap/js/bootstrap-button.js"></script> 
    <script src="/static/bootstrap/js/bootstrap-collapse.js"></script>
    <!--    <script src="/static/bootstrap/js/bootstrap-carousel.js"></script> -->
    <!--    <script src="/static/bootstrap/js/bootstrap-typeahead.js"></script> -->
    

    If you don’t want to host the bootstrap javascript, you could always link to the latest version directly:

    <!-- This is NOT recommended -->
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap_base.js"></script>
    <!--    <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js"></script> -->
    <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-alert.js"></script> 
    etc..
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A common argument against using .NET for high volume, transactional enterprise systems is that
I'm working on a user based, social networking type of web application in Django.
I have a RESTful web application that supports multiple sort fields on a collection
Common scenario: I have a library that uses other libraries. For example, a math
A common pattern in C++ is to create a class that wraps a lock
I using Django and a generic view django.views.generic.create_update.create_object I have a model form wich
When dealing with debugging queries using Profiler and SSMS, its pretty common for me
I'm creating an installer using InnoSetup , and writing some custom handlers in a
What is the most convenient or common 3D format for Python? In terms of
I'm writing Integration tests for a webapp using Spring AbstractJUnit tests and Hibernate for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.