Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.06 KB

getting-started.md

File metadata and controls

38 lines (24 loc) · 1.06 KB

Getting started

Read throughfully the Directory structure before starting, else you're doomed to fail.

Updates project

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 tasks

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 project
  • clean: clean the project (remove all symlinks and output files)
  • watch: watch files to rebuild on change
  • start: 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.

Previous section