An open API service indexing awesome lists of open source software.

https://github.com/angular/projects

github reference application for Angular 2.0
https://github.com/angular/projects

Last synced: 3 months ago
JSON representation

github reference application for Angular 2.0

Awesome Lists containing this project

README

          

# Projects [![Build Status](https://travis-ci.org/angular/projects.svg?branch=master)](https://travis-ci.org/angular/projects)

A Github client built with Angular 2

[https://projects.angularjs.org](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](http://nodejs.org/)
2. `npm install -g gulp`
3. `npm install -g bower`
3. `npm install -g protractor`
3. `npm install`
4. `bower install`

## Running the Samples

1. `gulp build watch serve`
2. open [http://localhost:8000/](http://localhost:8000/)

## Running e2e tests locally

1. Start the server: `gulp build watch serve`
1. Start the selenium server: `webdriver-manager start`
1. `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