Skip to content

heigeo/AGRCJavaScriptProjectBoilerPlate

 
 

Repository files navigation

Build Status AGRC JavaScript Project Boilerplate

Based heavily upon: https://github.com/csnover/dojo-boilerplate

To Use

Step 1 - Boilerplate

git clone https://github.com/agrc/AGRCJavaScriptProjectBoilerPlate.git
cd AGRCJavaScriptProjectBoilerPlate
npm install

Step 2 - Develop

Open src/index.html to view the development version of the app.

Build an awesome app.

Run grunt to automatically lint your files and run unit tests (see _SpecRunner.html for unit tests).

Step 3 - Optimize

Check out BUILD_STEPS.md to prepare to run build.sh. This will use the dojo build system to create an optimized version of your app in the dist directory that you can then upload to your server.

Tool Versions

See bower.json for dependency versions.

Notes

The build script uses a special AMD build of the ESRI api to get all modules into a single built layer file (dojo/dojo.js).

Before beginning development make sure to run:

bower install
npm install

to bring in all required dependencies.

About

AGRC's boilerplate for JavaScript applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.8%
  • Python 1.9%
  • Other 1.3%