HTML and CSS Reference
In-Depth Information
Chapter 2. Starting Your Project
You would like to get up and running as quickly as possible with your projects, and in
this chapter we will see some of the quickest ways to do so with HTML5 Boilerplate.
There are many flavors of HTML5 Boilerplate to choose from, and we will look into
some of the mechanisms of creating your starting folder and take a look at the imme-
diate tasks you can take care of once you get going.
Creating your initial project folder
HTML5 Boilerplate is available in three versions from the website, as we saw in the
previous chapter. Here are two of the quickest ways to get started with the latest files:
• Download the latest version of HTML5 Boilerplate for every new project
you start with
• Maintain a local, up-to-date copy of the HTML5 Boilerplate and use a script
to copy files into your project
We will look at both these ways now.
Downloading
the
latest
version
of
HTML5
Boilerplate
This is the easiest way to get started with the latest files on HTML5 Boilerplate. If
you are conversant with Git, you can download HTML5 Boilerplate as a folder. In your
command-line interface, navigate to the folder where you store your projects typically,
and then enter the following command in your command-line interface:
git clone git://github.com/h5bp/
html5-boilerplate.git
This will download a folder called html5-boilerplate to that folder. You can then
rename it to your own project and get started with it.
Search WWH ::




Custom Search