-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Build and compress elFinder from source
elFinder build system is based on Node.js, it must be installed on your computer. Also you will need npm - a package manager for node, to install build tools.
Tested with nodejs 0.10.x and up (0.12, 4.x, 5.x) on Linux and Mac OS X. Should also work on Windows, but it's not tested much.
After you have nodejs and npm installed next is to install build tools:
Get the latest elFinder sources from github: git clone git://github.com/Studio-42/elFinder.git
Enter elFinder directory cd elFinder
Simply run npm install
to install build tools. By default npm installs packages into node_modules
directoy.
Run npm run build
, it will build elFinder inside build directory. CSS and JS files will be composed into single files and minified.
If you want to dig into elFinder build process you can install jake globally by running npm install -g jake
or execute it directly from ./node_modules/.bin/jake
.
For more info run jake
and jake --tasks