-
Notifications
You must be signed in to change notification settings - Fork 724
Installing alertify.js
Fabien Doiron edited this page Jul 9, 2013
·
3 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.
The following should already be installed. Visit the sites below for install instruction if they aren't.
Once the prerequisites are installed, installing the development dependencies is a breeze.
- Fork alertify.js.
- Clone the project in a working directory, USERNAME will be your GitHub username
git clone [email protected]:USERNAME/alertify.js.git
- Checkout master
git checkout master
- Install development dependencies, this will install all required node modules into a
node_modules
folder
npm install
- Build the project to generate the library (JS and CSS files)
grunt build
- Once completed, you should be good to go. Try running
grunt test
(runs lint and tests) andgrunt 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.