Skip to content

markbrouch/deck.gl-webpack-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deck.gl Webpack 2 Boilerplate

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.

Installation

  1. Clone this repository:
git clone https://github.com/markbrouch/deck.gl-webpack-boilerplate.git && cd deck.gl-webpack-boilerplate
  1. Install dependencies:
yarn
  1. Start dev server with Mapbox token:
MAPBOX_ACCESS_TOKEN=<your mapbox api key here> npm start
  1. Open http://localhost:8000 in your browser.

Heroku

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.