Skip to content

adriaanbalt/boilerplate-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate to build an AngularJS web app

###Introduction

Boilerplate to build an AngularJS web app. Includes global files such as SCSS mixins and JS vendors files. @TODO: have the global/js/vendor files referenced in the browserify config instead of those in the app.

Node Modules

Libraries

Requirements

Make sure your have the following installed with these versions or greater when running the bootstrap

  • Angular 1.4.8
  • Node v0.10.26
  • Sass v3.3.9
  • Compass >1.0.0.alpha.20

Grunt Task(s)

Default

Runs the default task from the root directory of the Git folder.

$ grunt 

Note: includes following packages Assemble, Browserify, Compass, Connect, Clean, Watch (with live reload), Copy

Note: This will automatically open your browser to localhost:7777 using Node Module "Connect" that is pointed to the generated "/dist" folder.

Installation

For Mac Users

# Recommend installing [NVM](https://github.com/creationix/nvm)
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash

# Install Node and NPM
$ nvm install v0.10.26

# Set Node default
$ nvm alias default v0.10.26

# Clone this GIT Repo
# --depth 1 removes all but one .git commit history
$ git clone [email protected]:adriaanbalt/boilerplate-angular.git

# Change directory to our repo
$ cd boilerplate-angular

# Install the repo with npm
$ npm install

# start the server
$ grunt

Your browser should automatically open to http://localhost:7777

For Windows Users

# Download the Windows installer from the [Nodes.js web site](https://nodejs.org/en).

# Run the installer (the .msi file you downloaded in the previous step.)

# Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings).

# Restart your computer. You won’t be able to run Node.js until you restart your computer.

# Clone this GIT Repo
# --depth 1 removes all but one .git commit history
$ git clone [email protected]:adriaanbalt/boilerplate-angular.git

# Change directory to our repo
$ cd boilerplate-angular

# Install the repo with npm
$ npm install

# start the server
$ grunt

Your browser should automatically open to http://localhost:7777

About

AngularJS 1.4 - boilerplate starter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published