-
Notifications
You must be signed in to change notification settings - Fork 13
Installation
Enej Bajgoric edited this page Jan 23, 2018
·
6 revisions
This icon set uses some tools to automate the building process. We use two tools:
- Node (and NPM)
- Grunt
- Go to nodejs.org, download the latest recommended version, and install it.
- Clone the Gridicons git repository, we suggest to use GitHub Desktop but you can use the command line if you're comfortable with git.
- Open Terminal on the Gridicons git just cloned folder.
- Type
npm install -g grunt-clito install Grunt. - Type
npm installto install Gridicons build libraries. - Done! Now you can just run
npm run buildto build the icons.
Sometimes things don't work. Try one of these:
- Run again
npm installfrom the Gridicons git folder. - Delete the
node_modulesfolder and runnpm installagain. - Check you have
gruntandgrunt-svgstoreinstalled (also might requiregrunt-svgmin). Typenpm lsin the Gridicons folder to see the full list. - Update your Node version.