- Register a free Mapzen API key
- Edit smol-maps on Glitch and click Remix this 🎤 from the project drop-down
- Click the 🕶 Show button in the top-left corner
- When prompted, enter the API key you just registered, and choose your default location
If you are installing on a Mac or Windows, use the installer available on the node.js homepage.
For Linux users installing via a package manager, you'll want to read the docs and follow the instructions for your specific distribution (e.g., for Debian-based distros, like Ubuntu).
There is one more fun detail for Linux users. Depending on the distro you use, your node.js binary might be called node
or nodejs
. If you're running Ubuntu, for example, you use nodejs
. If that's the case for you, instead of starting the server with npm start
use npm run-script startjs
.
- Register a free Mapzen API key
- In a terminal, run these commands:
cd path/to/smol-maps make npm start
- Load the website: http://localhost:4321/
- When prompted, enter the API key you just registered, and choose your default location