Skip to content

punxaphil/davidmiles-angular

Repository files navigation

DavidMiles

Build Status

Pre-requisites:

  • node & npm
  • angular cli: npm install -g @angular/cli

More info: https://github.com/angular/angular-cli#angular-cli

Development server

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.

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 -aot to build the project. The build artifacts will be stored in the docs directory. Use the -prod flag for a production build.

Usually this is not needed, since the build server is doing this automatically after code is pushed.

Using Docker

If you do not wish to install npm, node and angular cli locally on your machine, Docker can be used instead.

Make sure you have docker installed: https://docs.docker.com/engine/installation/#desktop

  • Dev server: sh docker/serve.sh
  • Build: sh docker/build.sh
  • Bash: sh docker/bash.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published