Angular.js : test code lab
-
Checkout angular.js code examples
--
-
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
Enter the following commands in the terminal
git clone https://github.com/erkobridee/lab-angularjs.git
cd lab-angularjs
npm install
[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
--
-
[GitHub] NebuPookins / git-submodule-tutorial - A tutorial on how to use git submodule to share a model across multiple applications
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
-
gulp
- development mode, prepare files, watch changes and start server on port 1337 -
gulp --release
- generate deploy version ondist
directory -
gulp --preview
- generate deploy version ondist
directory and start server on port 1337 looking to this directory -
gulp --publish
- publish deploy version files ongh-pages
branchgulp --init
- create local directory with github repository on gh-pages branch