Skip to content
/ sdk Public
forked from milafrerichs/sdk

Javascript SDK based on React, Redux and OpenLayers

License

Notifications You must be signed in to change notification settings

Geoneer/sdk

 
 

Repository files navigation

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.

About

Javascript SDK based on React, Redux and OpenLayers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.0%
  • CSS 1.3%
  • Other 0.7%