Jumpstart your next Gatsby mapping project with Leaflet!
Run the following in your favorite terminal:
gatsby new my-map-app https://github.com/colbyfayock/gatsby-starter-leaflet
- Set up Yarn: https://yarnpkg.com/lang/en/docs/install/#mac-stable)[https://yarnpkg.com/lang/en/docs/install/
- Install the Gatsby CLI globally:
yarn global add gatsby-cli
- Inside the directory of your choice, scaffold a new Gatsby site:
gatsby new my-map-app https://github.com/colbyfayock/gatsby-starter-leaflet
For example, if I want my installation in ~/Code/new-gatsby-site
, I would navigate to ~/Code
and run:
gatsby new new-gatsby-site https://github.com/colbyfayock/gatsby-starter-leaflet
- Navigate to your new directory and run:
yarn develop
- You should now be running a new Gatsby site locally! ๐
- Mapping with React Leaflet (egghead.io)
- How to build a mapping app in React the easy way with Leaflet (freecodecamp.org)
- Anyone Can Map! Inspiration and an introduction to the world of mapping (colbyfayock.com)