- Install npm through node.js
npm install -g @angular/cli
git clone https://github.com/nnguyen01/EPLWebApp.git
cd EPLWebApp
npm install
Run ng serve --aot
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
- Complete the installation
git pull origin master
ng build --prod
sudo cp -a dist/* /var/www/html/
- Test on http://162.246.156.95/ (for Cybera) or the IP address of your production server