-
Notifications
You must be signed in to change notification settings - Fork 15
The Scaffold Command (before v0.12)
There are three different path/url types that you can use to scaffold a new website. They are:
This is an alias from the scaffold registry, e.g.. bootstrap
. The scaffold registry is at: https://github.com/pingyhq/scaffolds.
The git repo can be hosted anywhere, it doesn't need to be on GitHub. This is a valid git URL: https://github.com/pingyhq/pingy-scaffold-bootstrap-jumbotron.git
. This is not a valid git URL: https://github.com/pingyhq/pingy-scaffold-bootstrap-jumbotron
(you can use the shorthand below instead).
A shorthand GitHub URL can be in the form of user/repo
or user/(pingy-scaffold-)
. So, you can use pingyhq/pingy-scaffold-bootstrap-jumbotron
or if your repo begins with the prefix pingy-scaffold-
, then you can reference it like so pingyhq/bootstrap-jumbotron
. Both will resolve to https://github.com/pingyhq/pingy-scaffold-bootstrap-jumbotron.git
.
An absolute path on the local filesystem. Example: /Users/dave/code/pingy-scaffolds/bootstrap-jumbotron
.
Pingy will clone the repo to ~/.pingy/scaffolds
when it is first used. If you use the same scaffold again it will pull the repo to make sure that you are always scaffolding using the latest version of the repo.