Angular 9 + Docker

栏目: IT技术 · 发布时间: 5年前

内容简介:Angular 9 Starter with Material, Transloco, Jest & Compodocby

Angular 9 + Docker

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

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Domain-Driven Design

Domain-Driven Design

Eric Evans / Addison-Wesley Professional / 2003-8-30 / USD 74.99

"Eric Evans has written a fantastic book on how you can make the design of your software match your mental model of the problem domain you are addressing. "His book is very compatible with XP. It is n......一起来看看 《Domain-Driven Design》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器