A simple Mapbox map of a simple csv file with headers
("First Name", "Last Name", "Home City", "Home State"). I did this for an internal map of Docker employees, and then generalized it a bit. It's very basic but you get the point.
Steps to get started:
- Clone this repo
- Get a Mapbox access token.
Replace the access token in
config/config.jswith your own.
docker build -t your-username/some-map-name . docker run --name map -d -i -t -P your-username/some-map-name
- If you're on Linux, point your browser at localhost/index.html
- If you're on Windows or Mac, you are probably using Docker Machine. You'll need to determine your machine's ip address (
docker-machine ls) and the port mapping for your container (
docker port map).