I am new to this system and less as well (since working with SASS) trying to understand how to setup and modify the system as per my need.
I am using Netbeans 7.2 on Ubuntu 12.04 and setup all required package (Note.js, Grunt, npm, less, sass, compass etc) Now I am trying to modify variables.less file but nothing happens. I know it is something wrong with my less coniguration or may be I need to activate watch similar like in compass stuffs for Less.
Can anyone guide what all I need to do to modify and update bootstraps core less files which can eventually modify theme’s main.min.css file?
Also see here. One thing to add to Tamara’s comment is that you need to run the commands from the root directory of your Roots theme i.e. where the Gruntfile.js resides.
I have installed Grunt but I am new to it so no idea how to use it. Do I need to run the command in my terminal grunt watch same like compass? and it will automatically update all my less files?
I am sorry about so basic question but trying to understand how this works.
[quote=“Foxaii, post:3, topic:1346, full:true”]
Also see here.[/quote]
I have gone through it before I have posted my question here. However I am unable to find the answer how to modify bootstraps files.
[quote=“Foxaii, post:3, topic:1346, full:true”]
One thing to add to Tamara’s comment is that you need to run the commands from the root directory of your Roots theme i.e. where the Gruntfile.js resides.[/quote]
Yeah I thought so. You mean I need to set path of my Roots theme directory and run grunt watch command in terminal. Is that correct?
Yep! There’s a post in the docs about modifying Bootstrap; it links to the Grunt guide, as well. But once you have npm install everything, you should just open a terminal, cd into /your/theme/dir, and do grunt watch. It’ll recompile your files whenever you save changes.
It’s a lot to learn, but it’s well worth the effort.
grunt-cli: The grunt command line interface. (v0.1.13)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
http://gruntjs.com/getting-started
Your “grunt watch” or “grunt dev” commands should be compiling everything for production right there for you! Your main.min.css is production ready!