Skip to content
makella edited this page Feb 26, 2014 · 2 revisions

About

We use a forked version of MapBox's Maki project to build and maintain icons for our maps.

Setup

Install Inkscape

  1. Download the latest release from inkscape.org)
  2. Move the DMG over to your applications directory
  3. Launch Inkscape to test installation
  4. If you see a "Where is X11?" dialog, you will need to link to "Applications/Utilities/XQuartz"
  5. Add an alias to the Inkscape command line tools to ~./bash-profile: export PATH="/Applications/Inkscape.app/Contents/Resources/bin:$PATH"
  6. If you have Terminal open, restart it
  7. To test the Inkscape command line tool, type which inkscape into a Terminal session

Install other dependencies

  1. Install Homebrew, if it isn't already installed
  2. Install ImageMagick: brew install imagemagick
  3. Install GhostScript: brew install ghostscript

Clone NPS Maki Repository

Test the Build

  • CD into the new directory: cd maki
  • Run render.sh: sh render.sh to test the build process