Skip to content
Javascript SDK based on React, Redux and OpenLayers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__ Remove setContext action, add upgrade notes Aug 9, 2018
__tests__ Upgrade to react-redux 6 Dec 28, 2018
changelog Add missing changelog for 2.5.2 release Dec 31, 2018
config Clean up jest (polyfill) config Apr 4, 2018
docs Update getting started guide Dec 30, 2018
examples Changing the EPSG code on the example to work with mapbox (#962) Jan 17, 2019
src Upgrade to react-redux 6 Dec 28, 2018
tasks Fixing a deprecated function used in node script (#966) May 22, 2019
.babelrc Use babel-plugin-module-resolver in the tests Mar 21, 2018
.eslintrc Prefer single for JSX quotes Sep 12, 2018
.gitignore Use dotenv for Mapbox API key Dec 11, 2017
.npmrc Do not generate package lock file Mar 8, 2018
DEVELOPING.md Updated deps, added link. Jan 9, 2018
Jenkinsfile Move to new SonarQube instance Mar 13, 2018
LICENSE.md Add license headers Aug 11, 2017
README.md
package.json Release 2.7.5 Dec 31, 2018
sdk-examples-build.groovy Add pipeline build for examples deployer May 15, 2018
webpack-common.js babel-polyfill is also needed in dev mode Nov 15, 2018
webpack-dev-server.config.js Fix webpack configs Jul 2, 2018
webpack-example.config.js Fix webpack example config for IE11 Aug 13, 2018

README.md

Boundless SDK

Logo

Build Status Quality Gate Coverage License

Javascript SDK based on React, OpenLayers and Redux.

For the previous version, please see the 1.x branch instead.

Running Project

To run the examples,

First, clone the project: git clone https://github.com/boundlessgeo/sdk.git

Then change into directory of cloned project: cd sdk

Create a file with the name .env in the root of your sdk directory and add your Mapbox API key in there:

MAPBOX_API_KEY=<your key here>

After this, run the following commands:

npm install - install libraries

npm run build:examples - build examples from templates

npm start - start webpack-dev-server

The last command should open your browser to a page of examples: http://localhost:3000/build/examples

Using the SDK source to develop a local project

Please read DEVELOPING.md on how to create the SDK package and link to it locally.

Troubleshooting

If npm start fails review node version, SDK targets v6.0 or greater. On OSX node install can be error prone, seems to work best when installed by Brew http://brewformulas.org/Node

Running tests

The test suite will skip a number of tests unless the canvas module has been installed.

For more details on installing canvas and other important developer notes please read DEVELOPING.md.

You can’t perform that action at this time.