Angular 9 + Docker

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

内容简介: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

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

查看所有标签

猜你喜欢:

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

Algorithms Illuminated (Part 2)

Algorithms Illuminated (Part 2)

Tim Roughgarden / Soundlikeyourself Publishing, LLC / 2018-8-5 / USD 17.99

Algorithms are the heart and soul of computer science. Their applications range from network routing and computational genomics to public-key cryptography and machine learning. Studying algorithms can......一起来看看 《Algorithms Illuminated (Part 2)》 这本书的介绍吧!

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

在线压缩/解压 HTML 代码

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

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

Base64 编码/解码