Improve doc to build assets
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
How to build assets (Javascript and CSS files)?
|
How to build assets (Javascript and CSS files)?
|
||||||
===============================================
|
===============================================
|
||||||
|
|
||||||
Kanboard use shell script for that:
|
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`
|
||||||
|
|
||||||
|
To make a new build run this shell-script from a terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./scripts/make-assets.sh
|
./scripts/make-assets.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This script generates the files `app.css` and `app.js`.
|
This script generates the files `assets/css/app.css` and `assets/js/app.js`.
|
||||||
|
|
||||||
This tools is only available in the repository.
|
This tool is only available in the repository (development version).
|
||||||
|
|||||||
Reference in New Issue
Block a user