Setting up Bootstrap is very simple and easy to get started writing your first bootstrap application. There two variations of getting the bootstrap from their website http://getbootstrap.com/.
- Download pre-compiled bootstrap
- Download source code
- Use CDN
If you download the pre-compiled version of the bootstrap, after un-zip of the distribution the extracted files structure would look like this:
If you download the source code, then the file structure would look like this:
- In the above screenshot, the files under less, js and fonts are the source codes.
- Pre-compiled files are copied under the folder dist.
- This also contains the documents and examples
Simple Bootstrap Example
Here is the simple template to get start your first application. It uses the MaxCDN to download the resources. Look at the code. This example is provided by the official website.
In the above code, it uses the jQuery, bootstrap.min.js and bootstrap.min.css files are included to make a normal HTM file to Bootstrapped Template.