Improve doc to build assets

This commit is contained in:
Frederic Guillot
2015-04-11 16:53:07 -04:00
parent 05b1cfd98c
commit d748b4f4c0

View File

@@ -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).