- install node
- install gulp
- npm install
- gulp build (window user : npm run gulp build)
- cd angrychart
- gulp watch (window user : npm run gulp watch)
- open gulpfile.js in angrychart directory
var rootJsPath = '../sample/src/main/resources/static';
// set javascript root path
var baseJsPath = 'base';
// set angular2 and util javascript path
var appPath = '../sample/src/main/resources/static/app';
// set your typescript code path
- open systemjs.config.js in angrychart directory
// set angular2 and util javascript path
// it need to be same baseJsPath in gulpfile.js
var baseJs = 'base';
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'@angular': baseJs + '/@angular',
'angular2-in-memory-web-api': baseJs+'/angular2-in-memory-web-api',
'rxjs': baseJs+'/rxjs'
};
- mvn spring-boot:run
- cd angrychat directory
- gulp watch