mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
1.1 KiB
1.1 KiB
How to build 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 minifiedassets/*/app.min.*
are application source code merged and minified
Requirements
- NodeJS with
npm
Building Javascript and CSS files
Kanboard use Gulp to build the assets and Bower to manage dependencies. 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
Notes
Building assets is not possible from the Kanboard's archive, you have to clone the repository.