...
- Get the current source code from github as a ZIP file: https://github.com/fluid-project/infusion/archive/master.zip
- Unpack the zip file you just downloaded , and place the resulting folder somewhere convenient for your development purposes. The folder will have cd into the "infusion-master" in its name.For the purposes of this tutorial, rename the "infusion-master" folder to "infusion-1.5". But if you downloaded a different version or prefer a different folder name, you'll have to adjust.
The folder folder that results. - If necessary install Node.js (http://nodejs.org/download/) and Grunt (“npm install -g grunt-cli”).
- Make your own custom build by running the “grunt” command in the Terminal. See the README.md file for instructions on how to make a custom build of Infusion.
- The grunt command will create a zip file in the products folder. Unzip that file and move the resulting
infusion
folder somewhere convenient for your development purposes, likely in alib
folder in your site hierarchy. This
MyInfusioninfusion
will include a single file containing all of the JavaScript you need:infusion-custom.js
. You will link to this file in the headers of your HTML files.