Sign inSign up

duluca/angular4-material2-starter

By duluca

•Updated almost 9 years ago

A batteries-included Mobile-First Angular 4+ and Angular Material 2 Seed Project

Image
1

10K+

duluca/angular4-material2-starter repository overview

⁠Version

Tags supported: latest, 4.4.3, 4.2.4

Looking for a full-stack solution? Check out Minimal MEAN⁠ for full-stack, dockerized, TypeScript development setup.

Run the following command to pull the Docker image: docker pull duluca/angular4-material2-starter

⁠Features

⁠For Developers

To avoid issues that aries from maintaining varying versions of Angular CLI and TypeScript across multiple projects, it is highly recommended that you do not globally install @angular/cli and typescript.

⁠Running the Code

After cloning the repository, run the following commands:

  • npm install -- installs the app's dependencies
  • npm start -- serves the Angular app with live reloading for development purposes
⁠Building and Testing
  • npm run docker:build to build the Docker image
  • npm run docker:debug to test the Docker image
⁠Push Button Deployments

Below instruction have not been tested on a Windows environment

  • Create .env file and set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
    • Sample .env file:
      AWS_ACCESS_KEY_ID=your_own_key_id
      AWS_SECRET_ACCESS_KEY=your_own_secret_key
    
  • Install AWS CLI
    • Mac: brew install awscli
  • Log in to AWS CLI with your credentials
    • Run aws configure
    • You'll need your Access Key ID and Secret Access Key
    • Default region name: us-east-1
  • npm run aws:release to configure Docker with aws, publish your latest image build and release it on ECS

Tag summary

Content type

Image

Digest

Size

25.5 MB

Last updated

almost 9 years ago

docker pull duluca/angular4-material2-starter