Skip to content

Installing alertify

fabien-d edited this page Feb 18, 2013 · 5 revisions

0.4. documentation, see 0.3.* documentation*

Alertify.js is developed using RequireJS and built using Grunt.

No dependencies are need to use alertify.js. They are removed during the built step.

Prerequisites

The following should already be installed. Visit the sites below for install instruction if they aren't.

Development Dependencies

Once the prerequisites are installed, installing the development dependencies is a breeze.

  1. Fork alertify.js.
  2. Clone the project in a working directory, USERNAME will be your GitHub username
git clone git@github.com:USERNAME/alertify.js.git
  1. Checkout master
git checkout master
  1. Install development dependencies, this will install all required node modules into a node_modules folder
npm install
  1. Once completed, you should be good to go. Try running grunt test (runs lint and tests) and grunt build (runs lint, tests, compiles SASS files into CSS, creates alertify.js and alertify.min.js files)

Source files are located in the src folder, and tests can be found in the test folder.

Clone this wiki locally