Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

erkobridee/lab-angularjs

Repository files navigation

lab-angularjs

Angular.js : test code lab

--

Prerequisites

  • Must have Git installed

  • Must have node.js (at least LTS) installed with npm (Node Package Manager)

  • Must have Gulp.js node package installed globally. [sudo] npm install -g gulp

Installation Guide

Enter the following commands in the terminal

git clone https://github.com/erkobridee/lab-angularjs.git
cd lab-angularjs
npm install

Tools

Git submodule

[GitHub] erkobridee / cdn on gh-pages branch (3rd party libs)

  • commands

    • init submodule
git submodule init
  • add submodule
git submodule add -b gh-pages https://github.com/erkobridee/cdn.git gitsubmodule/cdn
  • update submodule
git submodule update --remote
  • check node/npm outdated dependencies
npm outdated

--

Dependencies

npm install \
  del \
  gulp \
  gulp-bump \
  gulp-cached \
  gulp-connect \
  gulp-jshint \
  gulp-lintspaces \
  gulp-load-plugins \
  gulp-print \
  gulp-shell \
  gulp-task-listing \
  gulp-util \
  jshint-stylish \
  lazypipe \
  open \
  run-sequence \
  yargs \
  --save-dev

Commands

  • gulp - development mode, prepare files, watch changes and start server on port 1337

  • gulp --release - generate deploy version on dist directory

  • gulp --preview - generate deploy version on dist directory and start server on port 1337 looking to this directory

  • gulp --publish - publish deploy version files on gh-pages branch

    • gulp --init - create local directory with github repository on gh-pages branch

License