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

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

查看所有标签

猜你喜欢:

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

The Elements of Statistical Learning

The Elements of Statistical Learning

Trevor Hastie、Robert Tibshirani、Jerome Friedman / Springer / 2009-10-1 / GBP 62.99

During the past decade there has been an explosion in computation and information technology. With it have come vast amounts of data in a variety of fields such as medicine, biology, finance, and mark......一起来看看 《The Elements of Statistical Learning》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具