Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 2.42 KB

README.md

File metadata and controls

43 lines (26 loc) · 2.42 KB

Pack and Go - Kentico Cloud sample progressive web app

Build Status Deploy Status Stack Overflow

A travel progressive web application featuring various points of interests around your location. Written in Angular using Kentico Cloud as a data source.

Prerequisites

Getting started

These command line instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Type git clone [email protected]:Kentico/cloud-sample-angular-pwa-app.git to clone the sample application repository.
  2. Type cd cloud-sample-angular-pwa-app to navigate to the root folder of the application.
  3. Type npm install to install the required npm packages.
  4. Type npm start to start a development server.
  5. 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|guard|interface|enum|module.

Build

Run npm run 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

Run npm run test to execute the unit tests via Karma.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Analytics