4 Run "npm start" for a dev server.
5 Navigate to "http://localhost:9000/".
6 The app will automatically reload if you change any of the source files.
9 npm start -- --env.role designer
15 Run "npm run build" to build the project.
16 The build artifacts will be stored in the `dist/` directory.
19 Run "npm run build:prod" to build the project.
20 The build artifacts will be stored in the `dist/` directory.
23 Dev server is configured in webpack.server.js file.
24 App configuration dev.js or prod.js and menu.js are located in configuration folder and required by app.ts according to __ENV__ parameter from webpack.
27 ## Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
29 ## Running end-to-end tests
30 ## Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
31 ## Before running the tests make sure you are serving the app via `ng serve`.
33 -- Working with WebStorm --
35 go to File --> Settings --> Languages & Frameworks
37 Under JavaScript -> set JavaScript language version to ECMAScript6
38 Under TypeScript -> select 'Enable TypeScript Compiler' and choose 'Use tsconfige.json'