Skip to content
Nicolas Gallagher edited this page Jan 26, 2012 · 2 revisions

createproject.sh

Setup

After you've cloned your fork of html5-boilerplate from github:

$ cd  html5-boilerplate
$ chmod +x build/createproject.sh

Once you've done this, createproject.sh can be run directly from the command line, like this:

$ cd build   
$ ./createproject.sh

The terminal will prompt with this message:

To create a new html5-boilerplate project, enter a new directory name:

Type the name of the new project you are creating, ideally in lowercase letters, with no spaces - this will be the directory name that your new project lives in. Press Enter to continue.

If you attempt to create a directory that already exists, createproject.sh will warn you and stop running.

If all goes smoothly, you will see the following messages:

 Created Directory: [name]

 [ A list of all the html5-boilerplate files being copied ]

 Created Project: [name]

Success! You now have a clean project to begin making the next HTML5 wunderkind demo!

It will be located in a folder that is a sibling to the html5-boilerplate folder.

Clone this wiki locally