This boilerplate will get you up and running with Uber's deck.gl data visualization library on Webpack 2. You'll need an API key from Mapbox to run.
- Clone this repository:
git clone https://github.com/markbrouch/deck.gl-webpack-boilerplate.git && cd deck.gl-webpack-boilerplate
- Install dependencies:
yarn
- Start dev server with Mapbox token:
MAPBOX_ACCESS_TOKEN=<your mapbox api key here> npm start
- Open http://localhost:8000 in your browser.
If you choose to deploy on Heroku, you'll need to install Ubuntu packages with the heroku-buildpack-apt buildpack. Use the provided Aptfile in this boilerplate.