Basic Mapbox proxy server.
Tiles are cached by the server to avoid too many downloads from Mapbox.
-
Download manually.
-
Copy the configuration file from the template.
cd mb-proxy/server
cp config.json.dist config.json
-
Edits the configuration.
-
Installs dependencies and compiles the client.
cd mb-proxy/client
npm install
./gulp --production
- Installs dependencies and run the server.
cd mb-proxy/server
npm install
./bin/mb-proxy
- Opens your browser.