README 970 B

123456789101112131415161718192021222324252627
  1. If you want to make changes to the .css generated from these .less files then you
  2. need to use a LESS Compiler. Details on specific compilers and how to install them
  3. can be found at http://docs.moodle.org/dev/LESS
  4. Requirements:
  5. nodejs, npm, grunt-cli.
  6. Installation:
  7. node and npm: instructions at http://nodejs.org/
  8. grunt-cli: `[sudo] npm install -g grunt-cli`
  9. node dependencies: run `npm install` in the root directory.
  10. Usage:
  11. Default behaviour is to watch all .less files and compile
  12. into compressed CSS when a change is detected to any and then
  13. clear the theme's caches. Invoke either `grunt` or `grunt watch`
  14. in the theme's root directory.
  15. To separately compile only moodle or editor .less files
  16. run `grunt less:moodle` or `grunt less:editor` respectively.
  17. To only clear the theme caches invoke `grunt exec:decache` in
  18. the theme's root directory.
  19. Additional information about the Moodle bootstrap base theme can be found at
  20. http://docs.moodle.org/dev/Bootstrap