Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

happy-hamster/frontend

Repository files navigation

Happy Hamster

This project was generated with Angular CLI version 9.0.7.

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|guard|interface|enum|module.

Build

Run 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

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng 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.

Start Angular with PWA in Production Environment

# ng serve --prod is not working because the ServiceWorker for the PWA is not working without a web server. Try npm run start:prod.

Start developing

This is a tutorial on how to start developing the HappyHamster frontend.

Requirements

Step for Step

  1. Clone the HappyHamster project.
  2. Open a command line and navigate to the repository root and then to the SAKPaaS folder.
  3. Run npm install
  4. Run ng serve and your local HappyHamster should open up at localhost:4200!