The Dufu Framework command line utility makes it easy to create and develop GIS web apps.
Use the dufu --help
command for more detailed task information.
$ npm install -g dufu
Note: For a global install of -g dufu
, OSX/Linux users may need to prefix the command with sudo
or can setup proper file permissions on OSX for npm to install without sudo
.
Minimal node requirements:
- NodeLTS or greater
- NPM 3x
To start a Dufu app, run:
$ dufu start myapp [template]
Named template starters:
- navigation
- sidemenu
- maps
- blank