Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get the current source code from github as a ZIP file: https://github.com/fluid-project/infusion/archive/master.zip
  2. 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.
  3. If necessary install Node.js (http://nodejs.org/download/) and Grunt (“npm install -g grunt-cli”).
  4. 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.
  5. 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 a lib folder in your site hierarchy.
  6. This infusion will include a single file containing all of the JavaScript you need:

    MyInfusion

    infusion-custom.js. You will link to this file in the headers of your HTML files.