/bower-dist

A bower build for FineUploader/fine-uploader

Primary LanguageShellMIT LicenseMIT

Fine Uploader

Bower license

Documentation | Examples | Support | Blog | Changelog


Bower distribution build of Fine Uploader

Usage

First, download Fine Uploader:

bower install fine-uploader --save

Then, simply reference the necessary JavaScript files on your HTML page:

<script src="/bower_components/fine-uploader/dist/fineuploader.min.js"></script>
<link href="/bower_components/fine-uploader/dist/fineuploader.min.css" type="text/css">

Enjoy


Updating or building manually

You normally should not have to do this, but you can also build this distribution yourself by following the steps in this section.

Prepping (getting fine-uploader)

$ git clone --recursive https://github.com/FineUploader/bower-dist.git

OR, if you already cloned this repo;

$ cd fineuploader-dist
$ git pull origin

Building

In your terminal please navigate to where the project is cloned

$ ./build.sh <version> # e.g: ./build.sh 5.11.8

NOTE:

  • The build will automaticaly install node dependencies if the node_modules directory does not exist.

  • If for some reason you would like to reinstall the dependencies use --reinstall-dep to remove existing node_modules directory first. After that execute the following command:

     $ ./build.sh <version> --reinstall-dep

Credits