Giter Club home page Giter Club logo

sdk-apps's Introduction

Example applications for the Boundless Web SDK

Use node version 6.0.0 through nvm (https://github.com/creationix/nvm).

How to use

cd %examplename%
nvm use 6.0.0
npm i
npm run build
npm start

npm run build will create the minified js file for production use

npm start will start up the debug server at http://localhost:3000/

npm run package will generate a production version of the application.

Applications that need access to a local GeoServer will need to run (in addition to npm start):

npm run start:proxy this will start up the application at http://localhost:4000/ and will have a proxy to a local geoserver on port 8080 (proxy-config.json).

Linking to a github directory of the sdk

Go to the directory of your sdk git checkout and type:

npm link

Go to the node_modules/react directory of that git checkout and type:

npm link

Go to the node_modules/openlayers directory of that git checkout and type:

npm link

In your sdk app type:

npm link boundless-sdk
npm link react
npm link openlayers

This will be the result on file system:

lrwxr-xr-x   1 bartvandeneijnden  staff    71 Dec  3 15:05 boundless-sdk -> ../../../../../.nvm/versions/node/v6.0.0/lib/node_modules/boundless-sdk
lrwxr-xr-x   1 bartvandeneijnden  staff    68 Dec  3 16:34 openlayers -> ../../../../../.nvm/versions/node/v6.0.0/lib/node_modules/openlayers
lrwxr-xr-x   1 bartvandeneijnden  staff    63 Dec  3 15:05 react -> ../../../../../.nvm/versions/node/v6.0.0/lib/node_modules/react

sdk-apps's People

Contributors

nstires-boundless avatar thirystheory avatar tbarsballe avatar malaretv avatar cuttlefish avatar

Watchers

Francesco Bartoli avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.