Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
/ projects Public archive

github reference application for Angular 2.0

Notifications You must be signed in to change notification settings

angular/projects

Repository files navigation

Projects Build Status

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

  1. Install NodeJS
  2. npm install -g gulp
  3. npm install -g bower
  4. npm install -g protractor
  5. npm install
  6. bower install

Running the Samples

  1. gulp build watch serve
  2. open http://localhost:8000/

Running e2e tests locally

  1. Start the server: gulp build watch serve
  2. Start the selenium server: webdriver-manager start
  3. protractor protractor.conf.js

Multi project development

  • call scripts/dev-dep.sh to replace a dependency in node_modules with a symlink. E.g. scripts/dev-dep.sh templating will replace node_modules/templating with a symlink to ../templating. If that folder already exists it will just use it. Otherwise it will clone templating from Github and store it there.
  • call scripts/npm-dep.sh to revert this change.
  • when dependencies changed, increment the counter in FORCE_BUILD to force a build

Code Style Guide

  • Use 2 spaces as tab, see .editorconfig

About

github reference application for Angular 2.0

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •