A Github client built with Angular 2
https://projects.angularjs.org
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.
- Install NodeJS
npm install -g gulpnpm install -g bowernpm install -g protractornpm installbower install
gulp build watch serve- open http://localhost:8000/
- Start the server:
gulp build watch serve - Start the selenium server:
webdriver-manager start protractor protractor.conf.js
- 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
- Use 2 spaces as tab, see .editorconfig