Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Createproject.sh

shichuan edited this page Apr 7, 2011 · 1 revision

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.