Building Assets (Javascript and CSS files)

Stylesheet and Javascript files are merged together and minified.

  • Original CSS files are stored in the folder assets/css/src/*.css
  • Original Javascript code is stored in the folder assets/js/src/*.js
  • assets/*/vendor.min.* are external dependencies merged and minified
  • assets/*/app.min.* are application source code merged and minified

Requirements

Instructions

Kanboard use Gulp to build the assets. These tools are installed as NodeJS dependencies into the project.

Run everything:

make static

Build vendor.min.js and vendor.min.css:

gulp vendor

Build app.min.js:

gulp js

Build app.min.css:

gulp css

Note

Building assets is not possible from the Kanboard’s archive, you have to clone the repository.