This app was generated by a yeoman.io generator called bootmap. The original code was derived from the Bootstrap Map JS project, which is a simple framework for building responsive mapping applications with the ArcGIS API for JavaScript and Bootstrap (ver 3.0).
The goal with this generator is to show the power of yeoman, and enable developers to get up and running with a map in seconds rather than hours.
Unline the Bootstrap Map JS we load jquery and bootstrap from a cdn - this will make your site faster and unless you are going to make changes to the bootstrap css files, it's simply much much easier. This scaffolded application includes a gruntfile, pre-configured for much awesomeness.
Once you have scaffolded the application, simply cd
into the application folder and run grunt
at the command-line.
This will start up a server that will host your application, and then open your default browser pointing at it. Any time you change a html file, a javascript file, or a css file, the application will automatically be reloaded. Behold the magic of 'live reload'!
Additionally, once you have connected your app to a gitbut repo, you can use grunt deploy
and it will automagically take the current master branch and deploy it to gh-pages
, which makes it publicly accessible at http://phevenor.github.io/dojomapapp. Hotness!
??? I did build this late at night, so things may break :)
Anyone and everyone is welcome to contribute. http://github.com/dbouwman/generator-bootmap
Copyright 2014 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.