6

Angular 9 + Docker

 3 years ago
source link: https://github.com/wlucha/angular-starter/blob/master/README.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

NJzAVjR.png!web

Angular 9 + Material + Transloco + Jest + Compodoc + Docker

Angular 9 Starter with Material, Transloco, Jest & Compodoc

by @wlucha

Features

:white_check_mark: Angular 9+

:white_check_mark: Angular Material Theming

:white_check_mark: Jest Unit Testing

:white_check_mark: Internationalization with Transloco

:white_check_mark: Auto documentation with Compodoc

:white_check_mark: Analyse your project with webpack-bundle-analyzer

:white_check_mark: Docker Support

Deploy

Demo

Install / Development

git clone https://github.com/wlucha/angular-starter
cd angular-starter

# Install dependencies
npm install

# Start server
npm run start

# Open in browser: http://localhost:4200

Docker Deployment

# Build Docker image
docker build . -t angular-starter  

# Run Docker Container
docker run -p 3000:80 angular-starter

Docker Hub

https://hub.docker.com/r/wlucha/angular-starter

Commands

  • npm run start - start the app
  • npm run test - run unit tests
  • npm run build - build the project
  • npm run build:prod - build the project in production mode
  • npm run build:prod:stats - build the project in product mode with stats
  • npm run analyse - analyse bundle with webpack-bundle-analyzer
  • npm run compodoc - generate compodoc documentation
  • npm run changelog - generate changelog

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK