37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# TaurusTv
|
|
|
|
## Tools used for development
|
|
|
|
- [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/)
|
|
|
|
Install the latest versions, add them to your $PATH.
|
|
|
|
## Prepare for development
|
|
|
|
### Install required node packages
|
|
```bash
|
|
sudo npm -g i typescript gulp @angular/cli
|
|
# Inside your project root
|
|
npm install
|
|
```
|
|
|
|
## Deployment
|
|
|
|
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.
|
|
|
|
## Angular cli
|
|
### Development server
|
|
|
|
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.
|
|
|
|
### Code scaffolding
|
|
|
|
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
|
|
|
|
### Further help
|
|
|
|
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).
|