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 gulp
npm install -g bower
npm install -g protractor
npm install
bower 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.sh
to replace a dependency innode_modules
with a symlink. E.g.scripts/dev-dep.sh templating
will replacenode_modules/templating
with a symlink to../templating
. If that folder already exists it will just use it. Otherwise it will clonetemplating
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
- Use 2 spaces as tab, see .editorconfig