Note that this seed project requires node >=v8.9.0 and npm >=4.
In order to start the project use:
$ yarn install
# watches your files and uses livereload by default run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
$ yarn start
# prod build, will output the production application in `dist`
# the produced code can be deployed (rsynced) to a remote server
$ yarn build
##This Project is an IOT admin panel app using Angular 5
it will connect to a VERA smart Building device and you can control all the devices and check them on the web
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
Run ng test
to execute the unit tests via Karma.
Run npm run test-prod
to execute unit test on CI/CD.
Active your vpn
for the first e2e test run to get some data.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Run doc
task to generate compodoc documentation
yarn global add live-server
live-server --port=9101 --entry-file=./index.html