Apache & Bootstrap

Discussion in 'Programming' started by TimLampen, May 28, 2015.

  1. Hola,

    I was wondering if anyone knew how to install bootstrap onto a local apache server. I tried to drag the three folders into the /Apache/ folder (/Apache/bin/httpd.exe is when the 'start button' is), but that didn't seem to work. I am running windows 7 if that is needed.

  2. Install Bootstrap? I would just use http://bootstrapcdn.com and put that into your html. Unless I am completely missing something, bootstrap isn't something you really "install"
    • Agree Agree x 3
  3. I thought you had to do something with the files that you download from the website :/ maybe Apache has it built in
  4. Nope, bootstrap is a regular HTML5 framework. Completely client-side.
  5. You just put this code in your <head></head> tags.
    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    This is for Bootstrap 3.3.4 (Latest)
  6. Then why is this not working :/

    The right is my local server, the left is what it should look like.

    The file is called index.html (should it be .php?)
  7. Does anything show in the Console? (Inspect Element)
  8. [​IMG]
  9. You didn't do it right then. Make sure you use the links that @Spooky18 said.. You don't use your ip.
  10. oooo i c :) thanks
  11. works?
  12. yep