Telerik (Kendo UI) Redux Angular 2 Health App
The intent of this project is to show a very basic use of Redux in combination with Angular 2.
This project was generated with angular-cli version 1.0.0-beta.20-4.
Authored by @JeremyLikness.
- Visit the Demo App
- Read about using Redux with Angular 2 and TypeScript
- Learn how this project integrated Angular 2 unit tests with Visual Studio Team Services
- Read how this project was set up for Continuous Deployment with Visual Studio Team Services and Docker
Run the latest docker container for this.
docker run --name webapp -d -p 80:80 jlikness/ng2kendouireduxapp
Here are the steps to get started working locally.
Associate the Progress repository (requires a Telerik login)
npm login --registry=https://registry.npm.telerik.com/ --scope=@progress
The username is your login to the Telerik site. If you use an email, just enter everything before the email (i.e. firstname.lastname@example.org you will enter foo). Your full email will be prompted for as well.
Clone the repo
git clone https://github.com/JeremyLikness/Angular2ReduxKendoUIHealthApp.git
Go to the root
Quick run (Angular-CLI)
Quick run (Docker - requires Docker Linux host installed and running)
This will build an image, run it, and open the browser to the running app:
npm run-script docker-start
This will stop and remove the container:
npm run-script docker-stop
This will stop, remove the container, and remove the image:
npm run-script docker-cleanup
ng serve for a dev server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
ng generate component component-name to generate a new component. You can also use
ng generate directive/pipe/service/class.
ng build to build the project. The build artifacts will be stored in the
dist/ directory. Use the
-prod flag for a production build.
Running unit tests
ng test to execute the unit tests via Karma.
Running end-to-end tests
ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via
Deploying to Github Pages
ng github-pages:deploy to deploy to Github Pages.
To get more help on the
ng --help or go check out the Angular-CLI README.