$ git clone git@github.com:ostinred/startkit-less.git your project name directory
cd your project name directory
bower install
npm install
Gruntfile.js -> 6. appName: 'YourProjectName',
grunt init
@font-family: 'Your font';
@font-family-sans-serif: @font-family, Helvetica, Arial, sans-serif;
-
Attention:
Your fonts must have the same names as in the file "less/bootstrap/fonts.less" Example: Lato-Regular, Roboto-Regular, Lato-Bold, Roboto-Bold, Lato-Italic, Bold-Italic etc. IF NOT: rename there your font-files.
grunt copyfont
a) less\bootstrap\mixins.less
on the top copy next:
@import "mixins/media-rules.less";
@import "mixins/dev-mixins.less";
@import "dev-extend.less";
b) less\bootstrap.less
on the top copy next:
@import "dev-variables.less";
before core css copy next:
@import "fonts.less";
a) less\bootstrap.less -> 15. @import "bootstrap/glyphicons.less";
b) less\font-awesome\font-awesome.less -> 8. @import "path.less";
grunt
grunt watch
$ git remote set-url origin
an example:
$ git remote set-url origin git@github.com:etc.git
after as usual
$ git add .
bower install
npm install
grunt deleteRepeat /* delete repeat of less srcs files in the bower_components */
grunt watch