Skip to content

mapbox/impact-tools

Repository files navigation

This repository stores the template code files for Mapbox Impact Tools.

Mapbox Impact Tools

https://www.mapbox.com/impact-tools/

From storytelling, to mobilization, to disaster relief, location and maps are powerful tools for impact. But the people and organizations doing the work are facing limited capacity and high stakes. Mapbox Impact Tools are free templates and guides to get up and running with common, strategic use-cases — advanced technical skills not required.

Setting up a local testing server

To avoid CORS errors when testing, we recommend running a local http-server for node or a SimpleHTTPServer for python.

Node:

$ cd path/to/index.html
$ http-server
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://192.168.0.127:8080
Hit CTRL-C to stop the server

Python:

$ cd path/to/index.html

If Python version returned above is 3.X
$ python3 -m http.server

If Python version returned above is 2.X

$ python -m SimpleHTTPServer

Need additional support?

This repo is not monitored for support requests. If you would like to connect with someone at Mapbox, please choose from the following options: