-
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-cli
to install Grunt. - Type
npm install
to install Gridicons build libraries. - Done! Now you can just run
npm run build
to build the icons.
Sometimes things don't work. Try one of these:
- Run again
npm install
from the Gridicons git folder. - Delete the
node_modules
folder and runnpm install
again. - Check you have
grunt
andgrunt-svgstore
installed (also might requiregrunt-svgmin
). Typenpm ls
in the Gridicons folder to see the full list. - Update your Node version.