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
- Host: GitHub
- URL: https://github.com/angular/projects
- Owner: angular
- Archived: true
- Created: 2014-02-04T16:59:57.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-04T11:11:09.000Z (over 11 years ago)
- Last Synced: 2024-09-26T11:04:25.093Z (about 1 year ago)
- Language: JavaScript
- Size: 919 KB
- Stars: 58
- Watchers: 29
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Projects [](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