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 ondistdirectory -
gulp --preview- generate deploy version ondistdirectory and start server on port 1337 looking to this directory -
gulp --publish- publish deploy version files ongh-pagesbranchgulp --init- create local directory with github repository on gh-pages branch