/sample-geo-angular

Sample Geolocation App with AngularJS

Primary LanguageJavaScriptMIT LicenseMIT

sample-geo-angular

AngularJS version of Geo App by Francesco Iovine. The orignal version was written for MDN article Plotting yourself on the map.

Setup

This project is desgined to be used under the following directory structure:

+ sample-geo-angular/
|- master/     # Clone of master branch
|- gh-pages/   # Clone of gh-pages branch

Here is command line used to create the directory structure above:

mkdir sample-geo-angular
cd sample-geo-angular
git clone https://github.com/marcoslin/sample-geo-angular.git master
git clone -b gh-pages --single-branch https://github.com/marcoslin/sample-geo-angular.git gh-pages

Once project has been cloned, do:

cd sample-geo-angular/master/setup/

# Install needed components
npm install

# Copy the downloaded components to the www directory
grunt setup

# Launch the dev webserver and watch for changes
grunt devel

# Deploy changes to gh-pages/ directory
grunt deploy