2017-08-01 16:33:34 +02:00
# TaurusTv
2017-08-24 18:43:24 +02:00
## Tools used for development
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
- [deployer ](https://deployer.org/download )
- [nodeJS ](https://nodejs.org/en/download/ )
- [php7.1 ](http://php.net ) - [installation on ELX ](https://www.colinodell.com/blog/2016-12/installing-php-7-1 )
- [phpStorm ](https://www.jetbrains.com/phpstorm/download/ )
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
Install the latest versions, add them to your $PATH.
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
## Prepare for development
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
### Install required node packages
```bash
sudo npm -g i typescript gulp @angular/cli
# Inside your project root
npm install
```
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
## Deployment
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
Run `dep deploy` in the project root, to deploy the application to `vasgyuro.tsp` . The application will automatically reload on the TV when a new version is deployed.
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
## Angular cli
### Development server
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/` . The app will automatically reload if you change any of the source files.
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
### Code scaffolding
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module` .
2017-08-01 16:33:34 +02:00
2017-08-24 18:43:24 +02:00
### Further help
2017-08-01 16:33:34 +02:00
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README ](https://github.com/angular/angular-cli/blob/master/README.md ).