Projects 
A Github client built with Angular 2
https://projects.angularjs.org
Continuous Deployment
Whenever a change is pushed to master, Travis runs the e2e tests
and pushes the result of the build to the dist branch.
The server behind projects.angularjs.org listens for changes to the dist branch
(via a Webhook) and pulls them in to serve them. It uses the
continuous-deployment.js node script to do that.
Setup
- Install NodeJS
npm install -g gulpnpm install -g bowernpm install -g protractornpm installbower install
Running the Samples
gulp build watch serve- open http://localhost:8000/
Running e2e tests locally
- Start the server:
gulp build watch serve - Start the selenium server:
webdriver-manager start protractor protractor.conf.js
Multi project development
- call
scripts/dev-dep.shto replace a dependency innode_moduleswith a symlink. E.g.scripts/dev-dep.sh templatingwill replacenode_modules/templatingwith a symlink to../templating. If that folder already exists it will just use it. Otherwise it will clonetemplatingfrom Github and store it there. - call
scripts/npm-dep.shto revert this change. - when dependencies changed, increment the counter in
FORCE_BUILDto force a build
Code Style Guide
- Use 2 spaces as tab, see .editorconfig