Simple project for start with Angular2.
- On Linux/Mac - install nvm and using nvm install node v5.x. On Windows - download node v5.x binaries and install them.
- run
npm install
Just run npm run serve
There is command npm run test
which does the same thing as npm run serve
but instead of openning an app in browser, it opens tests page.
If you have run npm run serve
- don't worry! Just open 0.0.0.0:8000/runSpec.html
address in your browser.
If tsd fails due to exceeded rate limit, provide GITHUB_TOKEN
environment variable with token to your github account. Token can be generated in you profile settings.
Sometimes changes in source files aren't handled properly - you can just run npm run build
to rebuild app.