forked from h5bp/html5-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 29
Get Started!
nimbupani edited this page Oct 29, 2010
·
18 revisions
After you have downloaded the boilerplate zip file by clicking the funky Download button, and are wondering what you should do next, this page should answer that question.
- Unzip the file into your brand new project. You might want to look at each of the following files:
- If you are using templates, you may have to integrate it within that templating system.
- Link to the full URLs for CSS and JS files, especially if you are using templates, and the paths have sub-directories like : /omg/awes/index.php
- Put all the styles you need in your project within the style.css file, right after the comment line that begins with 'Primary Styles'. ###JS
- Consider rolling the JavaScript for all the plugins you use into the plugins.js file within js/plugins.js folder.
- If you are using a third-party JavaScript library (e.g. for your shopping cart system, events), consider putting those files under 'mylibs' folder.
- Use script.js to put any script you use to invoke plugins or third-party tools. This way, it will be cached and does not need to be added to the page load.
Glance through the .htaccess file for any changes you would need to do.