From a shall, run:

phonegap create xyz com.penrillian.PhoneGapApiSandbox PhoneGapApiSandbox

The copy the www folder into the repo.