$ npm install boilerplate-bootstrapYou must have NPM, Bower and Grunt installed globally before you begin.
git clone https://github.com/assemble/assemble-bootstrap.gitbower install assemble-bootstrapcd into the project, and from the command line run:
npm i && bower install && cd vendor/bootstrap && npm i
You may now run grunt to build the project.
Note that if you want to get the absolute latest, bleeding edge Bootstrap you will need to use git clone https://github.com/twbs/bootstrap.git 'vendor/bootstrap' instead of bower install.
If you haven't used Assemble before, please visit http://assemble.io/docs to learn how to customize the task.
In the project's Gruntfile, the example assemble task is pre-loaded with paths and options to build the project successfully:
assemble: {
options: {
site: '<%= site %>',
flatten: true,
assets: 'tmp/assets',
partials: 'tmp/_includes/*.hbs',
layoutdir: 'tmp/_layouts',
layout: 'default.hbs'
},
docs: {
src: ['tmp/*.hbs'],
dest: 'tmp/'
}
}
Jon Schlinkert
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Use Assemble to build and maintain your gh-pages, blog or documentation. Lint and test your code using Grunt.