https://github.com/markbrouch/deck.gl-webpack-boilerplate
Boilerplate project for deck.gl using Webpack 2
https://github.com/markbrouch/deck.gl-webpack-boilerplate
boilerplate deckgl webpack webpack2 webpack2-boilerplate
Last synced: 2 months ago
JSON representation
Boilerplate project for deck.gl using Webpack 2
- Host: GitHub
- URL: https://github.com/markbrouch/deck.gl-webpack-boilerplate
- Owner: markbrouch
- License: mit
- Created: 2017-04-19T23:49:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T20:45:50.000Z (about 9 years ago)
- Last Synced: 2025-01-28T10:35:41.590Z (over 1 year ago)
- Topics: boilerplate, deckgl, webpack, webpack2, webpack2-boilerplate
- Language: JavaScript
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deck.gl Webpack 2 Boilerplate
This boilerplate will get you up and running with Uber's [deck.gl](http://uber.github.io/deck.gl/) data visualization library on Webpack 2. You'll need an API key from [Mapbox](https://www.mapbox.com/mapbox-gl-js/api/) to run.
## Installation
1. Clone this repository:
```bash
git clone https://github.com/markbrouch/deck.gl-webpack-boilerplate.git && cd deck.gl-webpack-boilerplate
```
2. Install dependencies:
```bash
yarn
```
3. Start dev server with Mapbox token:
```bash
MAPBOX_ACCESS_TOKEN= npm start
```
4. Open [http://localhost:8000](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](https://github.com/heroku/heroku-buildpack-apt) buildpack. Use the provided Aptfile in this boilerplate.