Read throughfully the Directory structure before starting, else you're doomed to fail.
Get the last version of the project:
git pull -u origin master
Update the composant used:
cd ../jeece-dokuwiki-template
sudo npm update # updates nodes.js
bower update # updates Bower components
Be sure to follow a good Git workflow.
Grunt is a task manager, use it to ease your development, checking your code and deploying your code. To run a grunt task named mytask
, do grunt mytask
.
Available tasks:
build
: build the whole projectclean
: clean the project (remove all symlinks and output files)watch
: watch files to rebuild on changestart
: start working without wondering which task to perfom:test-js
: validate Javascript
Note: since DokuWiki already compress the Javascript and CSS, it is not needed to do so with Grunt, although Grunt could do it pretty well.